Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.438/1.438, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.0007933/0.0007934, allocations: 178.2 kB / 372.2 MB, free: 10.11 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.129/1.129, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006622/0.0006622, allocations: 98.95 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 17 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002961/0.1642, allocations: 2.829 MB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1668, allocations: 1.735 MB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.167, allocations: 11.94 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1673, allocations: 43.58 kB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.1677, allocations: 195.2 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.1684, allocations: 239.5 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.1689, allocations: 470.5 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.1695, allocations: 458.2 kB / 0.986 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1697, allocations: 143.4 kB / 0.9861 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.1701, allocations: 179.4 kB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.1701, allocations: 16 kB / 0.9863 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1705, allocations: 263.4 kB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.1706, allocations: 111.7 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1708, allocations: 157 kB / 0.9868 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1711, allocations: 351.1 kB / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1711, allocations: 0 / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1711, allocations: 0 / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1711, allocations: 0 / 0.9872 GB, free: 20.01 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.0007765/0.1719, allocations: 0.5381 MB / 0.9877 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1719, allocations: 16.03 kB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.172, allocations: 58.73 kB / 0.9878 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.1726, allocations: 96.45 kB / 0.9879 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1729, allocations: 274.3 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1729, allocations: 28.86 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.173, allocations: 36.3 kB / 0.9882 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.1736, allocations: 441.1 kB / 0.9886 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1736, allocations: 7.938 kB / 0.9886 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1736, allocations: 15.98 kB / 0.9886 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.1737, allocations: 36.53 kB / 0.9887 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.1742, allocations: 349.9 kB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.176, allocations: 2.206 MB / 0.9911 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.1763, allocations: 266.3 kB / 0.9914 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.1765, allocations: 156.8 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1765, allocations: 3.984 kB / 0.9916 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1766, allocations: 38.94 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.1766, allocations: 4 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001374/0.1779, allocations: 1.042 MB / 0.9926 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.178, allocations: 59.34 kB / 0.9927 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1782, allocations: 256.8 kB / 0.9929 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1782, allocations: 29.7 kB / 0.9929 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1783, allocations: 188 kB / 0.9931 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1783, allocations: 82.75 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.1783, allocations: 12 kB / 0.9932 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.1784, allocations: 326.8 kB / 0.9935 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1786, allocations: 151.9 kB / 0.9937 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1788, allocations: 241.6 kB / 0.9939 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1792, allocations: 410.7 kB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1792, allocations: 0 / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008701/0.1801, allocations: 0.5768 MB / 0.9949 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1801, allocations: 8 kB / 0.9949 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1801, allocations: 7.938 kB / 0.9949 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.1807, allocations: 188.9 kB / 0.995 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1809, allocations: 63.89 kB / 0.9951 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.1829, allocations: 2.296 MB / 0.9974 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.1832, allocations: 15.98 kB / 0.9974 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1832, allocations: 16 kB / 0.9974 GB, free: 8.871 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.0001262/0.1834, allocations: 163.3 kB / 0.9975 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1834, allocations: 31.72 kB / 0.9976 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.1839, allocations: 362.5 kB / 0.9979 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1839, allocations: 0 / 0.9979 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1839, allocations: 0 / 0.9979 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1839, allocations: 0 / 0.9979 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.1847, allocations: 0.8121 MB / 0.9987 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1847, allocations: 8 kB / 0.9987 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.185, allocations: 75.94 kB / 0.9988 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.185, allocations: 4 kB / 0.9988 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1851, allocations: 4 kB / 0.9988 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1851, allocations: 4 kB / 0.9988 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1851, allocations: 0 / 0.9988 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1856, allocations: 0.6142 MB / 0.9994 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.1857, allocations: 136.8 kB / 0.9995 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1858, allocations: 8 kB / 0.9995 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.186, allocations: 11.98 kB / 0.9995 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.186, allocations: 15.97 kB / 0.9996 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.186, allocations: 4 kB / 0.9996 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001303/0.1862, allocations: 184.4 kB / 0.9997 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1862, allocations: 0 / 0.9997 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003377/0.1865, allocations: 88 kB / 0.9998 GB, free: 6.25 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.0007207/0.1872, allocations: 1.154 MB / 1.001 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006834/0.1879, allocations: 0.5478 MB / 1.001 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1879, allocations: 0 / 1.001 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1881, allocations: 143.9 kB / 1.002 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1885, allocations: 50.62 kB / 1.002 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.1912, allocations: 2.261 MB / 1.004 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1915, allocations: 0.7989 MB / 1.005 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.1917, allocations: 70.92 kB / 1.005 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1918, allocations: 89.91 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.1918, allocations: 3.938 kB / 1.005 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6821/0.8739, allocations: 6.282 MB / 1.011 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.8741, allocations: 232.4 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.994, allocations: 4 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)