Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 107 kB / 16.52 MB, free: 6.656 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.001096/0.001096, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6911/0.6911, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001371, allocations: 67.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3363, allocations: 76.17 MB / 0.5564 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003697/0.34, allocations: 2.67 MB / 0.559 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3418, allocations: 1.328 MB / 0.5603 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.3419, allocations: 3.875 kB / 0.5603 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.3426, allocations: 159.8 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.3428, allocations: 152.8 kB / 0.5606 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3432, allocations: 151.3 kB / 0.5607 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.3435, allocations: 376.9 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.3438, allocations: 140 kB / 0.5612 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.344, allocations: 88.83 kB / 0.5613 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.3442, allocations: 131.8 kB / 0.5614 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3443, allocations: 10.94 kB / 0.5614 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.3446, allocations: 189.1 kB / 0.5616 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.3447, allocations: 61.5 kB / 0.5617 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.3448, allocations: 87.5 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3451, allocations: 224.1 kB / 0.562 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3451, allocations: 0.5625 kB / 0.562 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3451, allocations: 0 / 0.562 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3451, allocations: 4.812 kB / 0.562 GB, free: 32.17 MB / 446.1 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.0007356/0.3458, allocations: 0.4918 MB / 0.5625 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3459, allocations: 13.47 kB / 0.5625 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.3464, allocations: 71.61 kB / 0.5625 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3466, allocations: 240.3 kB / 0.5628 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3467, allocations: 7.25 kB / 0.5628 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3467, allocations: 14.91 kB / 0.5628 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.3472, allocations: 316 kB / 0.5631 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3472, allocations: 1.125 kB / 0.5631 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3472, allocations: 11.31 kB / 0.5631 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.3473, allocations: 27.88 kB / 0.5631 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.3478, allocations: 262.7 kB / 0.5634 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3491, allocations: 1.496 MB / 0.5648 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.3496, allocations: 252.5 kB / 0.5651 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3498, allocations: 134.2 kB / 0.5652 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3498, allocations: 2.344 kB / 0.5652 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3499, allocations: 38.84 kB / 0.5653 GB, free: 29.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3499, allocations: 0 / 0.5653 GB, free: 29.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007495/0.3506, allocations: 342 kB / 0.5656 GB, free: 29.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3507, allocations: 81.48 kB / 0.5657 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3508, allocations: 175.3 kB / 0.5658 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3508, allocations: 30.92 kB / 0.5659 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3509, allocations: 146.4 kB / 0.566 GB, free: 29.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3509, allocations: 54.64 kB / 0.566 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.351, allocations: 44.53 kB / 0.5661 GB, free: 29.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.3511, allocations: 327.6 kB / 0.5664 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3513, allocations: 109.1 kB / 0.5665 GB, free: 28.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.3515, allocations: 168.7 kB / 0.5667 GB, free: 28.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.352, allocations: 273.8 kB / 0.5669 GB, free: 28.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.352, allocations: 5.062 kB / 0.5669 GB, free: 28.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005316/0.3525, allocations: 311.7 kB / 0.5672 GB, free: 28.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3525, allocations: 6.344 kB / 0.5672 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3526, allocations: 4.078 kB / 0.5672 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3526, allocations: 2.656 kB / 0.5672 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3529, allocations: 62.44 kB / 0.5673 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3529, allocations: 4.125 kB / 0.5673 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3531, allocations: 33.69 kB / 0.5673 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3531, allocations: 11.56 kB / 0.5674 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.3533, allocations: 196.5 kB / 0.5675 GB, free: 28.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001962/0.3535, allocations: 166.1 kB / 0.5677 GB, free: 28.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003545/0.3539, allocations: 244.8 kB / 0.5679 GB, free: 27.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.3539, allocations: 5.031 kB / 0.5679 GB, free: 27.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005026/0.3544, allocations: 272 kB / 0.5682 GB, free: 27.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.3544, allocations: 6.188 kB / 0.5682 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3545, allocations: 5.812 kB / 0.5682 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.3545, allocations: 7.406 kB / 0.5682 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3547, allocations: 51.41 kB / 0.5683 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3547, allocations: 8 kB / 0.5683 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3549, allocations: 29.67 kB / 0.5683 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3549, allocations: 6.875 kB / 0.5683 GB, free: 27.85 MB / 446.1 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 7.7e-05/0.355, allocations: 193.8 kB / 0.5685 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.355, allocations: 16.61 kB / 0.5685 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.3556, allocations: 271.1 kB / 0.5688 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3556, allocations: 3.5 kB / 0.5688 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3556, allocations: 1.562 kB / 0.5688 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3556, allocations: 0.8438 kB / 0.5688 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.3566, allocations: 0.6814 MB / 0.5694 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3566, allocations: 2.016 kB / 0.5694 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.3568, allocations: 43.92 kB / 0.5695 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3568, allocations: 6.422 kB / 0.5695 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3568, allocations: 7.844 kB / 0.5695 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3569, allocations: 2.531 kB / 0.5695 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3569, allocations: 6.641 kB / 0.5695 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.3573, allocations: 455.1 kB / 0.5699 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.3574, allocations: 112.9 kB / 0.57 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3575, allocations: 8.406 kB / 0.5701 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3577, allocations: 21.23 kB / 0.5701 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3577, allocations: 14.12 kB / 0.5701 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3578, allocations: 10.36 kB / 0.5701 GB, free: 26.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.3579, allocations: 127.8 kB / 0.5702 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3579, allocations: 0.9062 kB / 0.5702 GB, free: 26.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.3584, allocations: 80.62 kB / 0.5703 GB, free: 26.54 MB / 446.1 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 9.387e-05/0.3585, allocations: 112.1 kB / 0.5704 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.3592, allocations: 366 kB / 0.5707 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3592, allocations: 0 / 0.5707 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.3594, allocations: 122.3 kB / 0.5709 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3599, allocations: 46.44 kB / 0.5709 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.3606, allocations: 0.5383 MB / 0.5714 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3608, allocations: 0.7429 MB / 0.5722 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.3609, allocations: 19.14 kB / 0.5722 GB, free: 25.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3609, allocations: 0.9688 kB / 0.5722 GB, free: 25.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004619/0.3655, allocations: 2.565 MB / 0.5747 GB, free: 25.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)