Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.598/1.598, allocations: 287.4 MB / 302.6 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 198.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 89.73 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004175, allocations: 16.14 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003283/0.2251, allocations: 2.615 MB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.2274, allocations: 1.654 MB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2276, allocations: 7.938 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2278, allocations: 35.7 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.2282, allocations: 147.3 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2287, allocations: 183.6 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.2291, allocations: 426.6 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/0.2297, allocations: 412.6 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.2299, allocations: 127.5 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2302, allocations: 167.4 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.2302, allocations: 12 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.2304, allocations: 135.8 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.2305, allocations: 91.7 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.2306, allocations: 69.58 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.2309, allocations: 343.1 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2309, allocations: 0 / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2309, allocations: 0 / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.231, allocations: 0 / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009805/0.2319, allocations: 0.6021 MB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.232, allocations: 8.031 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.2321, allocations: 58.72 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/0.2327, allocations: 100.4 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.233, allocations: 279.5 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.233, allocations: 20.8 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.2331, allocations: 24.36 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.2337, allocations: 430.7 kB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2338, allocations: 0 / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2338, allocations: 11.92 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.2338, allocations: 32.3 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.2346, allocations: 412.7 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.236, allocations: 1.615 MB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.237, allocations: 485.1 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.2374, allocations: 201.6 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.2375, allocations: 93.08 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.238, allocations: 282.5 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.765e-06/0.238, allocations: 0 / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001659/0.2397, allocations: 0.781 MB / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2397, allocations: 81.11 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2399, allocations: 224.9 kB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2399, allocations: 29.7 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.24, allocations: 172.3 kB / 0.9907 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.2401, allocations: 94.64 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.2401, allocations: 4 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.2402, allocations: 338.8 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.2405, allocations: 176.2 kB / 0.9913 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.2409, allocations: 257.3 kB / 0.9915 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.2416, allocations: 486.9 kB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2417, allocations: 0 / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009665/0.2426, allocations: 0.5638 MB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.2427, allocations: 180.3 kB / 0.9927 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2427, allocations: 3.984 kB / 0.9927 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.2429, allocations: 40.83 kB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.2433, allocations: 95.86 kB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.2443, allocations: 1.493 MB / 0.9943 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2446, allocations: 55.81 kB / 0.9944 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2447, allocations: 16 kB / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5e-06/0.2447, allocations: 4 kB / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008833/0.2456, allocations: 0.4944 MB / 0.9949 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2456, allocations: 4 kB / 0.9949 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.2457, allocations: 40.77 kB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.246, allocations: 92.02 kB / 0.995 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008474/0.2469, allocations: 1.493 MB / 0.9965 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2472, allocations: 48.03 kB / 0.9965 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.2472, allocations: 15.98 kB / 0.9965 GB, free: 9.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.2474, allocations: 245 kB / 0.9968 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.2474, allocations: 27.7 kB / 0.9968 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009192/0.2484, allocations: 493 kB / 0.9973 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2484, allocations: 4 kB / 0.9973 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2484, allocations: 4 kB / 0.9973 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2484, allocations: 3.984 kB / 0.9973 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.2489, allocations: 0.566 MB / 0.9978 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2489, allocations: 0 / 0.9978 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.2493, allocations: 91.89 kB / 0.9979 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.2494, allocations: 32.83 kB / 0.9979 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2494, allocations: 11.98 kB / 0.998 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007728/0.2502, allocations: 1.42 MB / 0.9993 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/0.2502, allocations: 0 / 0.9993 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.2511, allocations: 0.5615 MB / 0.9999 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2512, allocations: 128.7 kB / 1 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.2512, allocations: 7.984 kB / 1 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.2515, allocations: 39.95 kB / 1 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.2516, allocations: 40.09 kB / 1 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2517, allocations: 4 kB / 1 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001289/0.2518, allocations: 176.4 kB / 1 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2518, allocations: 0 / 1 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005355/0.2523, allocations: 136 kB / 1 GB, free: 4.793 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.2534, allocations: 1.106 MB / 1.001 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.255, allocations: 1.008 MB / 1.002 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.255, allocations: 0 / 1.002 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.2555, allocations: 342.8 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.256, allocations: 48.34 kB / 1.003 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.2588, allocations: 2.001 MB / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2592, allocations: 0.7839 MB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.2595, allocations: 90.2 kB / 1.006 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.2597, allocations: 91.39 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.2597, allocations: 0 / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1895/0.4492, allocations: 6.555 MB / 1.012 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.4494, allocations: 232.7 kB / 1.012 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.023, allocations: 2.312 kB / 1.012 GB, free: 8.543 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)