Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001647/0.001647, allocations: 233.9 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7097/0.7097, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.305e-05, allocations: 2.312 kB / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002298/0.002311, allocations: 2.203 MB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003397, allocations: 0.9075 MB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.003477, allocations: 11.88 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.003865, allocations: 75.59 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.004077, allocations: 135.2 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.004306, allocations: 155.5 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.004547, allocations: 271.1 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.004764, allocations: 117.6 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.004966, allocations: 155.6 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.005133, allocations: 123.7 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.005157, allocations: 16 kB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.005266, allocations: 79.8 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.005329, allocations: 71.75 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.005385, allocations: 59.89 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.005607, allocations: 203.3 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005609, allocations: 3.938 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00561, allocations: 4 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005614, allocations: 4 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004781/0.006092, allocations: 0.5076 MB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.006125, allocations: 12.75 kB / 0.5601 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.00645, allocations: 100.6 kB / 0.5602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.006644, allocations: 181.3 kB / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.006659, allocations: 16.64 kB / 0.5604 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.006681, allocations: 12.38 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.006967, allocations: 296.8 kB / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006976, allocations: 192 / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.006992, allocations: 8.375 kB / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.007027, allocations: 32.2 kB / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.007181, allocations: 100.6 kB / 0.5608 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.008201, allocations: 1.33 MB / 0.5621 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.008408, allocations: 158.1 kB / 0.5623 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.008479, allocations: 47.3 kB / 0.5623 GB, free: 8.875 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.008497, allocations: 4 kB / 0.5623 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.008517, allocations: 45.39 kB / 0.5624 GB, free: 8.816 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.008519, allocations: 0 / 0.5624 GB, free: 8.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002699/0.008789, allocations: 133.5 kB / 0.5625 GB, free: 8.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.008818, allocations: 81.11 kB / 0.5626 GB, free: 8.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.008929, allocations: 221.9 kB / 0.5628 GB, free: 8.348 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.008943, allocations: 25.7 kB / 0.5628 GB, free: 8.316 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.009016, allocations: 207 kB / 0.563 GB, free: 8.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.009045, allocations: 55.52 kB / 0.563 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.009099, allocations: 47.36 kB / 0.5631 GB, free: 7.996 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.009208, allocations: 0.5001 MB / 0.5636 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.009272, allocations: 43.66 kB / 0.5636 GB, free: 7.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.009377, allocations: 159.3 kB / 0.5638 GB, free: 7.238 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.009534, allocations: 165.2 kB / 0.5639 GB, free: 7.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009536, allocations: 0 / 0.5639 GB, free: 7.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002129/0.009749, allocations: 193.3 kB / 0.5641 GB, free: 6.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.00976, allocations: 8 kB / 0.5641 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.009764, allocations: 0 / 0.5641 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.009777, allocations: 4 kB / 0.5641 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.009925, allocations: 56.11 kB / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.009931, allocations: 4 kB / 0.5642 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.01001, allocations: 35.77 kB / 0.5642 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.01003, allocations: 15.98 kB / 0.5642 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.477e-05/0.01011, allocations: 158.8 kB / 0.5644 GB, free: 6.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.229e-05/0.01021, allocations: 161.3 kB / 0.5645 GB, free: 6.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001298/0.01034, allocations: 165.1 kB / 0.5647 GB, free: 6.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.01034, allocations: 0 / 0.5647 GB, free: 6.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001851/0.01052, allocations: 176.9 kB / 0.5649 GB, free: 5.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/0.01053, allocations: 7.938 kB / 0.5649 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.01053, allocations: 4 kB / 0.5649 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.01053, allocations: 4.25 kB / 0.5649 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.01063, allocations: 51.89 kB / 0.5649 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.01063, allocations: 4 kB / 0.5649 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.0107, allocations: 27.88 kB / 0.565 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.01071, allocations: 8 kB / 0.565 GB, free: 5.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 8.423e-05/0.01079, allocations: 284 kB / 0.5652 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.01083, allocations: 19.84 kB / 0.5653 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.01101, allocations: 143 kB / 0.5654 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01102, allocations: 4 kB / 0.5654 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01102, allocations: 0 / 0.5654 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01102, allocations: 4 kB / 0.5654 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.01144, allocations: 475.8 kB / 0.5659 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01144, allocations: 0 / 0.5659 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01155, allocations: 55.89 kB / 0.5659 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01155, allocations: 0 / 0.5659 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01156, allocations: 7.938 kB / 0.5659 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01156, allocations: 0 / 0.5659 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01156, allocations: 4 kB / 0.5659 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01178, allocations: 437.7 kB / 0.5663 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.01183, allocations: 35.88 kB / 0.5664 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01185, allocations: 4 kB / 0.5664 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.01194, allocations: 15.98 kB / 0.5664 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.01199, allocations: 15.91 kB / 0.5664 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01199, allocations: 8 kB / 0.5664 GB, free: 4.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.419e-05/0.01206, allocations: 164.2 kB / 0.5666 GB, free: 4.137 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 3.938 kB / 0.5666 GB, free: 4.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.01235, allocations: 91.78 kB / 0.5667 GB, free: 4.043 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 6.192e-05/0.01241, allocations: 103.2 kB / 0.5668 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01267, allocations: 191 kB / 0.5669 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01267, allocations: 0 / 0.5669 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.01274, allocations: 56.3 kB / 0.567 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01303, allocations: 43.78 kB / 0.567 GB, free: 3.645 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.01365, allocations: 409.4 kB / 0.5674 GB, free: 3.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.0137, allocations: 88.31 kB / 0.5675 GB, free: 3.086 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.01381, allocations: 57.41 kB / 0.5676 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.01387, allocations: 20.5 kB / 0.5676 GB, free: 3.012 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01387, allocations: 0 / 0.5676 GB, free: 3.012 MB / 490.7 MB Notification: Performance of Templates: time 0.003682/0.01755, allocations: 2.358 MB / 0.5699 GB, free: 0.6953 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.555407748557627]