Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.395/1.395, allocations: 287.4 MB / 302.6 MB, free: 8.277 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.0008122/0.0008122, allocations: 180.7 kB / 371.1 MB, free: 10.84 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.087/1.087, 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.0007031/0.0007031, allocations: 105.3 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 14.75 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002316/0.1441, allocations: 2.828 MB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1458, allocations: 1.732 MB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.1459, allocations: 3.938 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.146, allocations: 43.7 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1463, allocations: 163.2 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1467, allocations: 238.1 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.147, allocations: 478.5 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.1475, allocations: 449.3 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1476, allocations: 131.5 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1479, allocations: 195.3 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1479, allocations: 12 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1481, allocations: 135.8 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1482, allocations: 103.7 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1482, allocations: 73.58 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1485, allocations: 351.1 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1485, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1485, allocations: 4 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1485, allocations: 0 / 0.9855 GB, free: 21.15 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006793/0.1492, allocations: 0.5303 MB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1492, allocations: 8.031 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1493, allocations: 70.72 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.1499, allocations: 96.45 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1501, allocations: 276.4 kB / 0.9864 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1501, allocations: 20.92 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.1502, allocations: 32.31 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1506, allocations: 445.1 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1507, allocations: 3.938 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1507, allocations: 11.98 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.1508, allocations: 44.52 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.1512, allocations: 345.9 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1528, allocations: 2.195 MB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1531, allocations: 282.2 kB / 0.9897 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1532, allocations: 160.8 kB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1533, allocations: 4 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.1533, allocations: 30.94 kB / 0.9899 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.1533, allocations: 0 / 0.9899 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00126/0.1546, allocations: 1.057 MB / 0.9909 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/0.1546, allocations: 51.41 kB / 0.991 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1548, allocations: 252.8 kB / 0.9912 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1548, allocations: 29.7 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.1548, allocations: 192 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1549, allocations: 86.75 kB / 0.9915 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.1549, allocations: 8 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.1549, allocations: 334.8 kB / 0.9918 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1551, allocations: 147.9 kB / 0.992 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1553, allocations: 237.6 kB / 0.9922 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.1557, allocations: 406.8 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1557, allocations: 4 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007905/0.1565, allocations: 0.5847 MB / 0.9932 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1565, allocations: 6.5 kB / 0.9932 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1565, allocations: 7.984 kB / 0.9932 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.1571, allocations: 184.9 kB / 0.9933 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1573, allocations: 71.83 kB / 0.9934 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1591, allocations: 2.293 MB / 0.9956 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1594, allocations: 16.02 kB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1594, allocations: 16 kB / 0.9957 GB, free: 10.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1595, allocations: 165.7 kB / 0.9958 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1596, allocations: 31.66 kB / 0.9959 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.16, allocations: 351.7 kB / 0.9962 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.16, allocations: 7.938 kB / 0.9962 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.16, allocations: 0 / 0.9962 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.16, allocations: 3.984 kB / 0.9962 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.1607, allocations: 0.8121 MB / 0.997 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1607, allocations: 0 / 0.997 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.1611, allocations: 79.88 kB / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1611, allocations: 4.062 kB / 0.9971 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1611, allocations: 8 kB / 0.9971 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1611, allocations: 0 / 0.9971 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1611, allocations: 4 kB / 0.9971 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.1616, allocations: 0.5986 MB / 0.9977 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.1617, allocations: 132.9 kB / 0.9978 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.1618, allocations: 12 kB / 0.9978 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.162, allocations: 15.97 kB / 0.9978 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.162, allocations: 15.92 kB / 0.9979 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.162, allocations: 12 kB / 0.9979 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001101/0.1621, allocations: 180.4 kB / 0.998 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.998 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.1624, allocations: 88 kB / 0.9981 GB, free: 7.402 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006546/0.1631, allocations: 1.159 MB / 0.9993 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1637, allocations: 0.5298 MB / 0.9998 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1637, allocations: 3.938 kB / 0.9998 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1639, allocations: 151.8 kB / 0.9999 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1643, allocations: 53.64 kB / 1 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.1667, allocations: 2.26 MB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.1668, allocations: 0.7989 MB / 1.003 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.167, allocations: 74.89 kB / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1671, allocations: 83.41 kB / 1.003 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1671, allocations: 0 / 1.003 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9961/1.163, allocations: 6.266 MB / 1.009 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/1.164, allocations: 222.2 kB / 1.009 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/3.101, allocations: 3.938 kB / 1.009 GB, free: 11.82 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)