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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002687/0.002687, allocations: 279.2 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 100.9 kB / 0.6064 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 89.14 MB / 0.6935 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006687/0.1759, allocations: 4.199 MB / 0.6976 GB, free: 164 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.1809, allocations: 2.802 MB / 0.7003 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.1812, allocations: 11.94 kB / 0.7003 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1825, allocations: 371.2 kB / 0.7007 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.1836, allocations: 418.1 kB / 0.7011 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1849, allocations: 0.5193 MB / 0.7016 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1859, allocations: 0.697 MB / 0.7023 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.1866, allocations: 339.3 kB / 0.7026 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.187, allocations: 267.1 kB / 0.7029 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.1877, allocations: 338.8 kB / 0.7032 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1878, allocations: 44 kB / 0.7032 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.1885, allocations: 347.2 kB / 0.7036 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.1888, allocations: 183.5 kB / 0.7037 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.1891, allocations: 258.7 kB / 0.704 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1901, allocations: 0.7281 MB / 0.7047 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1902, allocations: 0 / 0.7047 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1902, allocations: 0 / 0.7047 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.1902, allocations: 0 / 0.7047 GB, free: 8.867 MB / 0.4981 GB 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.001733/0.1919, allocations: 0.8184 MB / 0.7055 GB, free: 8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.192, allocations: 12.03 kB / 0.7055 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1934, allocations: 188 kB / 0.7057 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.194, allocations: 359.1 kB / 0.706 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.194, allocations: 33.36 kB / 0.7061 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.1941, allocations: 44.36 kB / 0.7061 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1955, allocations: 0.8378 MB / 0.7069 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.1955, allocations: 7.938 kB / 0.7069 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.1956, allocations: 20 kB / 0.7069 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.201e-05/0.1957, allocations: 64.61 kB / 0.707 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.1971, allocations: 0.6658 MB / 0.7077 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.2017, allocations: 4.67 MB / 0.7122 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.2029, allocations: 0.497 MB / 0.7127 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.2034, allocations: 277.5 kB / 0.713 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.2035, allocations: 11.98 kB / 0.713 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.2035, allocations: 42.55 kB / 0.713 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2035, allocations: 0 / 0.713 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.002026/0.2056, allocations: 0.8861 MB / 0.7139 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.2056, allocations: 89.08 kB / 0.714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.2061, allocations: 365.5 kB / 0.7143 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.2062, allocations: 29.7 kB / 0.7143 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.2064, allocations: 291 kB / 0.7146 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2065, allocations: 122.3 kB / 0.7147 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.2067, allocations: 114 kB / 0.7149 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2069, allocations: 354.7 kB / 0.7152 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/0.2075, allocations: 262.9 kB / 0.7154 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.2083, allocations: 490.5 kB / 0.7159 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2097, allocations: 0.7617 MB / 0.7167 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2097, allocations: 4 kB / 0.7167 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001612/0.2113, allocations: 0.7935 MB / 0.7174 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2113, allocations: 11.94 kB / 0.7174 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2113, allocations: 4 kB / 0.7174 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.2114, allocations: 16.69 kB / 0.7175 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.2121, allocations: 171.7 kB / 0.7176 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.2121, allocations: 11.94 kB / 0.7176 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.2127, allocations: 71.77 kB / 0.7177 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.2128, allocations: 31.98 kB / 0.7177 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006581/0.2134, allocations: 361 kB / 0.7181 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007041/0.2142, allocations: 450 kB / 0.7185 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.2153, allocations: 0.6819 MB / 0.7192 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/0.2153, allocations: 7.938 kB / 0.7192 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001412/0.2168, allocations: 0.6835 MB / 0.7198 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2168, allocations: 8 kB / 0.7199 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2168, allocations: 12 kB / 0.7199 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2168, allocations: 12.75 kB / 0.7199 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.2174, allocations: 155.7 kB / 0.72 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.2175, allocations: 19.92 kB / 0.72 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.218, allocations: 67.72 kB / 0.7201 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.218, allocations: 28 kB / 0.7201 GB, free: 7.977 MB / 0.5137 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.0001839/0.2182, allocations: 212.7 kB / 0.7203 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2183, allocations: 43.53 kB / 0.7204 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.2196, allocations: 0.5792 MB / 0.7209 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2196, allocations: 4 kB / 0.721 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2196, allocations: 4 kB / 0.721 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2196, allocations: 3.984 kB / 0.721 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.2224, allocations: 1.605 MB / 0.7225 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2224, allocations: 4.469 kB / 0.7225 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.223, allocations: 119.8 kB / 0.7226 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.223, allocations: 4 kB / 0.7227 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.223, allocations: 8 kB / 0.7227 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.223, allocations: 11.94 kB / 0.7227 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.223, allocations: 4 kB / 0.7227 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2242, allocations: 0.7781 MB / 0.7234 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.2244, allocations: 172.4 kB / 0.7236 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.2245, allocations: 11.94 kB / 0.7236 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.225, allocations: 51.94 kB / 0.7237 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2251, allocations: 39.83 kB / 0.7237 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2251, allocations: 12 kB / 0.7237 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003902/0.2255, allocations: 271.1 kB / 0.724 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2255, allocations: 0 / 0.724 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008752/0.2264, allocations: 196 kB / 0.7242 GB, free: 3.672 MB / 0.5137 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.0001465/0.2266, allocations: 107.2 kB / 0.7243 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.2285, allocations: 0.9755 MB / 0.7252 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2285, allocations: 0 / 0.7252 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.2291, allocations: 263.9 kB / 0.7255 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.2299, allocations: 125 kB / 0.7256 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2315, allocations: 1.018 MB / 0.7266 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.2321, allocations: 0.867 MB / 0.7274 GB, free: 228 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006409/0.2327, allocations: 212.1 kB / 0.7276 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.2329, allocations: 47.42 kB / 0.7277 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.2329, allocations: 3.938 kB / 0.7277 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of Templates: time 0.01256/0.2455, allocations: 6.519 MB / 0.734 GB, free: 9.5 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)