Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005554/0.005554, allocations: 173.8 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 259 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004038, allocations: 14.89 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004388/0.1529, allocations: 3.838 MB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.1567, allocations: 2.628 MB / 0.6916 GB, free: 8.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1569, allocations: 11.94 kB / 0.6916 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1571, allocations: 67.42 kB / 0.6916 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007379/0.1579, allocations: 356.1 kB / 0.692 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.1589, allocations: 482.5 kB / 0.6924 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008635/0.1597, allocations: 0.9856 MB / 0.6934 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.1606, allocations: 0.5429 MB / 0.6939 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1609, allocations: 215.1 kB / 0.6941 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.1614, allocations: 326.8 kB / 0.6944 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1615, allocations: 20 kB / 0.6945 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.1621, allocations: 391.1 kB / 0.6948 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.1623, allocations: 171.5 kB / 0.695 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1625, allocations: 264.3 kB / 0.6952 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.1632, allocations: 0.7045 MB / 0.6959 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1632, allocations: 0 / 0.6959 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1632, allocations: 0 / 0.6959 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1632, allocations: 0 / 0.6959 GB, free: 3.949 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001166/0.1644, allocations: 0.7211 MB / 0.6966 GB, free: 3.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1644, allocations: 12.03 kB / 0.6967 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.492e-05/0.1645, allocations: 82.7 kB / 0.6967 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.1654, allocations: 156.1 kB / 0.6969 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.1658, allocations: 363 kB / 0.6972 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1658, allocations: 29.38 kB / 0.6973 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.1659, allocations: 44.36 kB / 0.6973 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1671, allocations: 0.833 MB / 0.6981 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1671, allocations: 7.938 kB / 0.6981 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.1672, allocations: 19.98 kB / 0.6981 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.892e-05/0.1673, allocations: 68.61 kB / 0.6982 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1684, allocations: 0.6541 MB / 0.6988 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.1721, allocations: 4.635 MB / 0.7034 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.173, allocations: 0.4931 MB / 0.7038 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.1735, allocations: 289.5 kB / 0.7041 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1736, allocations: 11.98 kB / 0.7041 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1736, allocations: 38.5 kB / 0.7042 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1736, allocations: 3.938 kB / 0.7042 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001739/0.1753, allocations: 0.8891 MB / 0.705 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1754, allocations: 85.05 kB / 0.7051 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1757, allocations: 365.5 kB / 0.7055 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.1758, allocations: 29.7 kB / 0.7055 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.176, allocations: 294.9 kB / 0.7058 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.1761, allocations: 122.3 kB / 0.7059 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.1761, allocations: 49.69 kB / 0.7059 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1763, allocations: 358.7 kB / 0.7063 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.1767, allocations: 257 kB / 0.7065 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.1773, allocations: 486.5 kB / 0.707 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1785, allocations: 0.77 MB / 0.7078 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1785, allocations: 4 kB / 0.7078 GB, free: 7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001305/0.1798, allocations: 0.7783 MB / 0.7085 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.18, allocations: 299.6 kB / 0.7088 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.18, allocations: 8 kB / 0.7088 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.18, allocations: 12 kB / 0.7088 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.1807, allocations: 167.7 kB / 0.709 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.1807, allocations: 15.92 kB / 0.709 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.1812, allocations: 71.69 kB / 0.7091 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.1812, allocations: 31.98 kB / 0.7091 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/0.1812, allocations: 4 kB / 0.7091 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/0.1823, allocations: 0.6131 MB / 0.7097 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1823, allocations: 8 kB / 0.7097 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-06/0.1823, allocations: 8 kB / 0.7097 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.1828, allocations: 147.8 kB / 0.7099 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1829, allocations: 15.94 kB / 0.7099 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.1832, allocations: 63.95 kB / 0.7099 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.1832, allocations: 24 kB / 0.71 GB, free: 4.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1835, allocations: 295.1 kB / 0.7102 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.1836, allocations: 39.53 kB / 0.7103 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1847, allocations: 0.5844 MB / 0.7108 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1847, allocations: 4 kB / 0.7108 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1847, allocations: 0 / 0.7108 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1848, allocations: 7.984 kB / 0.7109 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.1872, allocations: 1.625 MB / 0.7124 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1872, allocations: 7.938 kB / 0.7124 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/0.1877, allocations: 119.8 kB / 0.7126 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1878, allocations: 8.469 kB / 0.7126 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1878, allocations: 16 kB / 0.7126 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.1878, allocations: 7.938 kB / 0.7126 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1878, allocations: 7.938 kB / 0.7126 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1889, allocations: 0.8034 MB / 0.7134 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.1891, allocations: 172.4 kB / 0.7135 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.1891, allocations: 12 kB / 0.7136 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.1895, allocations: 47.94 kB / 0.7136 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.1896, allocations: 39.83 kB / 0.7136 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1897, allocations: 16 kB / 0.7137 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002388/0.1899, allocations: 251.2 kB / 0.7139 GB, free: 408 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1899, allocations: 0 / 0.7139 GB, free: 408 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007779/0.1907, allocations: 192 kB / 0.7141 GB, free: 216 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.192, allocations: 1.361 MB / 0.7154 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.1936, allocations: 0.9376 MB / 0.7163 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1937, allocations: 4 kB / 0.7163 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.1941, allocations: 276.8 kB / 0.7166 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.1951, allocations: 108.2 kB / 0.7167 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005958/0.2011, allocations: 5.033 MB / 0.7216 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.2015, allocations: 0.8709 MB / 0.7225 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005465/0.2021, allocations: 200 kB / 0.7227 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.2023, allocations: 155.3 kB / 0.7228 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2023, allocations: 0 / 0.7228 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.2335, allocations: 9.179 MB / 0.7318 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.2338, allocations: 222.9 kB / 0.732 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.126, allocations: 0 / 0.732 GB, free: 13.63 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)