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.001773/0.001773, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001924/0.001924, allocations: 193.5 kB / 16.14 MB, free: 6.691 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 286.8 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 101.3 kB / 0.6057 GB, free: 25.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1713, allocations: 89.15 MB / 0.6928 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006038/0.1774, allocations: 4.23 MB / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.1821, allocations: 2.826 MB / 0.6997 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1824, allocations: 11.94 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1834, allocations: 338.7 kB / 0.7 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008439/0.1843, allocations: 390.5 kB / 0.7004 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1854, allocations: 474.5 kB / 0.7009 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.1865, allocations: 0.9778 MB / 0.7018 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.1871, allocations: 352.2 kB / 0.7021 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.1874, allocations: 231 kB / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.188, allocations: 346.8 kB / 0.7027 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.188, allocations: 27.94 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.1887, allocations: 427.1 kB / 0.7031 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.189, allocations: 175.6 kB / 0.7033 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1892, allocations: 242.7 kB / 0.7035 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008494/0.1901, allocations: 0.7476 MB / 0.7043 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1901, allocations: 0 / 0.7043 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.1901, allocations: 0 / 0.7043 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1901, allocations: 0 / 0.7043 GB, free: 9.059 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.001495/0.1916, allocations: 0.8146 MB / 0.7051 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1917, allocations: 12.03 kB / 0.7051 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.193, allocations: 196 kB / 0.7053 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.1935, allocations: 359.1 kB / 0.7056 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.1936, allocations: 29.38 kB / 0.7056 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.1937, allocations: 48.36 kB / 0.7057 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1951, allocations: 0.841 MB / 0.7065 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1952, allocations: 3.938 kB / 0.7065 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.1952, allocations: 23.98 kB / 0.7065 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.1953, allocations: 64.61 kB / 0.7066 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1968, allocations: 0.6658 MB / 0.7072 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.2016, allocations: 4.678 MB / 0.7118 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2028, allocations: 0.4942 MB / 0.7123 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.2033, allocations: 281.5 kB / 0.7125 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2033, allocations: 4 kB / 0.7125 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.2034, allocations: 46.55 kB / 0.7126 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.2034, allocations: 0 / 0.7126 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.002064/0.2055, allocations: 0.883 MB / 0.7135 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.2056, allocations: 89.09 kB / 0.7135 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.206, allocations: 365.5 kB / 0.7139 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.2061, allocations: 29.7 kB / 0.7139 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.2063, allocations: 291 kB / 0.7142 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.2064, allocations: 122.3 kB / 0.7143 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.2066, allocations: 114 kB / 0.7144 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2068, allocations: 358.7 kB / 0.7148 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.2074, allocations: 266.9 kB / 0.715 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.2082, allocations: 490.5 kB / 0.7155 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2096, allocations: 0.765 MB / 0.7162 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2096, allocations: 4 kB / 0.7162 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001646/0.2112, allocations: 0.7943 MB / 0.717 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2113, allocations: 11.98 kB / 0.717 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.2113, allocations: 4 kB / 0.717 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.2113, allocations: 12 kB / 0.717 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.2121, allocations: 164.2 kB / 0.7172 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.2121, allocations: 11.94 kB / 0.7172 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.2127, allocations: 79.75 kB / 0.7173 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.2128, allocations: 28 kB / 0.7173 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000675/0.2135, allocations: 357 kB / 0.7177 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007145/0.2142, allocations: 461.8 kB / 0.7181 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.2154, allocations: 0.6715 MB / 0.7187 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.88e-06/0.2154, allocations: 4 kB / 0.7188 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00144/0.2168, allocations: 0.6843 MB / 0.7194 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2169, allocations: 8 kB / 0.7194 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2169, allocations: 11.98 kB / 0.7194 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2169, allocations: 15.94 kB / 0.7195 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.2175, allocations: 151.7 kB / 0.7196 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2176, allocations: 16.38 kB / 0.7196 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.218, allocations: 67.78 kB / 0.7197 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.2181, allocations: 28 kB / 0.7197 GB, free: 8.172 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.0002054/0.2183, allocations: 220.5 kB / 0.7199 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2184, allocations: 43.52 kB / 0.72 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2197, allocations: 0.5758 MB / 0.7205 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.2197, allocations: 4 kB / 0.7205 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2198, allocations: 4 kB / 0.7205 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2198, allocations: 3.984 kB / 0.7205 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.2225, allocations: 1.611 MB / 0.7221 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.2225, allocations: 4 kB / 0.7221 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.2231, allocations: 112.3 kB / 0.7222 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.2231, allocations: 12 kB / 0.7222 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.2232, allocations: 8 kB / 0.7222 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.2232, allocations: 11.94 kB / 0.7222 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2232, allocations: 4 kB / 0.7222 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2244, allocations: 0.7798 MB / 0.723 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.2247, allocations: 176.4 kB / 0.7232 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.2248, allocations: 11.94 kB / 0.7232 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.2252, allocations: 55.92 kB / 0.7232 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2254, allocations: 31.84 kB / 0.7233 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.2254, allocations: 16 kB / 0.7233 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004293/0.2258, allocations: 267.1 kB / 0.7235 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2259, allocations: 4 kB / 0.7235 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001066/0.2269, allocations: 196 kB / 0.7237 GB, free: 3.855 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.0001905/0.2271, allocations: 119.1 kB / 0.7238 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.2292, allocations: 0.9324 MB / 0.7248 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2292, allocations: 0 / 0.7248 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.2297, allocations: 273.3 kB / 0.725 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.2305, allocations: 117.3 kB / 0.7251 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.2323, allocations: 1.208 MB / 0.7263 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.2329, allocations: 0.8709 MB / 0.7272 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006701/0.2336, allocations: 212 kB / 0.7274 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2338, allocations: 39.42 kB / 0.7274 GB, free: 0 / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2338, allocations: 0 / 0.7274 GB, free: 0 / 0.5137 GB Notification: Performance of Templates: time 0.0118/0.2456, allocations: 6.15 MB / 0.7334 GB, free: 9.895 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)