Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 113.1 kB / 17.04 MB, free: 5.812 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.001649/0.001649, allocations: 195 kB / 17.98 MB, free: 5.027 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.12 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3534, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003631/0.3571, allocations: 2.412 MB / 0.5599 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3593, allocations: 1.419 MB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3595, allocations: 2.906 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.3602, allocations: 173.5 kB / 0.5615 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.3606, allocations: 131.5 kB / 0.5616 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.3611, allocations: 187.5 kB / 0.5618 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.3615, allocations: 215.8 kB / 0.562 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.3618, allocations: 118.4 kB / 0.5621 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3619, allocations: 84.03 kB / 0.5622 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3622, allocations: 107.4 kB / 0.5623 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3622, allocations: 12.38 kB / 0.5623 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.3626, allocations: 181.2 kB / 0.5625 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.3627, allocations: 61.78 kB / 0.5625 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.3628, allocations: 83.59 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.3632, allocations: 285.4 kB / 0.5629 GB, free: 33.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3632, allocations: 1.062 kB / 0.5629 GB, free: 33.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3632, allocations: 0.5625 kB / 0.5629 GB, free: 33.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3632, allocations: 0.9688 kB / 0.5629 GB, free: 33.47 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007039/0.3639, allocations: 470.3 kB / 0.5633 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.364, allocations: 9.375 kB / 0.5634 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.3646, allocations: 59.73 kB / 0.5634 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3648, allocations: 232.7 kB / 0.5636 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3649, allocations: 10.91 kB / 0.5636 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3649, allocations: 19.09 kB / 0.5637 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.3653, allocations: 290.6 kB / 0.5639 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3654, allocations: 5.219 kB / 0.5639 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.3654, allocations: 6.25 kB / 0.5639 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.3654, allocations: 19.56 kB / 0.564 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.3658, allocations: 212.2 kB / 0.5642 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3673, allocations: 1.575 MB / 0.5657 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3677, allocations: 319.8 kB / 0.566 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3678, allocations: 67.42 kB / 0.5661 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.3679, allocations: 1.188 kB / 0.5661 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3679, allocations: 37.36 kB / 0.5661 GB, free: 30.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.3679, allocations: 0.8125 kB / 0.5661 GB, free: 30.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000561/0.3685, allocations: 240.2 kB / 0.5663 GB, free: 30.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3685, allocations: 87.47 kB / 0.5664 GB, free: 30.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3687, allocations: 196.7 kB / 0.5666 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3687, allocations: 26.95 kB / 0.5666 GB, free: 30.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.3688, allocations: 157.7 kB / 0.5668 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3688, allocations: 36.42 kB / 0.5668 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.3689, allocations: 54.81 kB / 0.5669 GB, free: 30.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.369, allocations: 326.9 kB / 0.5672 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3691, allocations: 71.44 kB / 0.5673 GB, free: 29.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3693, allocations: 154.8 kB / 0.5674 GB, free: 29.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3695, allocations: 238 kB / 0.5676 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3695, allocations: 1.125 kB / 0.5676 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003775/0.3699, allocations: 256.5 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3699, allocations: 7.047 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3699, allocations: 2.875 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.37, allocations: 8.281 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.3702, allocations: 55.91 kB / 0.5679 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3702, allocations: 9.547 kB / 0.568 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3704, allocations: 15.83 kB / 0.568 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3705, allocations: 10.3 kB / 0.568 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001498/0.3706, allocations: 161.8 kB / 0.5681 GB, free: 29.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001255/0.3707, allocations: 148.3 kB / 0.5683 GB, free: 29.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002052/0.371, allocations: 216.6 kB / 0.5685 GB, free: 29.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.371, allocations: 1.312 kB / 0.5685 GB, free: 29.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003741/0.3713, allocations: 242.1 kB / 0.5687 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3714, allocations: 6.5 kB / 0.5687 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3714, allocations: 2.531 kB / 0.5687 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.3714, allocations: 5.078 kB / 0.5687 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3716, allocations: 54.16 kB / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3716, allocations: 8.625 kB / 0.5688 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3717, allocations: 16.17 kB / 0.5688 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3717, allocations: 10.08 kB / 0.5688 GB, free: 28.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.351e-05/0.3718, allocations: 190.7 kB / 0.569 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.3719, allocations: 16.22 kB / 0.569 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.3721, allocations: 148.2 kB / 0.5692 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3722, allocations: 6.297 kB / 0.5692 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3722, allocations: 6.219 kB / 0.5692 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3722, allocations: 1.125 kB / 0.5692 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.3731, allocations: 0.7172 MB / 0.5699 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3731, allocations: 4.328 kB / 0.5699 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3732, allocations: 25.98 kB / 0.5699 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3732, allocations: 3.375 kB / 0.5699 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3733, allocations: 9.734 kB / 0.5699 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3733, allocations: 4.141 kB / 0.5699 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3733, allocations: 7.031 kB / 0.5699 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3735, allocations: 377.3 kB / 0.5703 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.3736, allocations: 105 kB / 0.5704 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.3737, allocations: 8.469 kB / 0.5704 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3739, allocations: 9.078 kB / 0.5704 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3739, allocations: 24.27 kB / 0.5704 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3739, allocations: 10.25 kB / 0.5704 GB, free: 27.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.374, allocations: 148.9 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3741, allocations: 1.094 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.3746, allocations: 75.16 kB / 0.5706 GB, free: 27.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.000149/0.3748, allocations: 110 kB / 0.5707 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.3753, allocations: 262.9 kB / 0.571 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3753, allocations: 2.031 kB / 0.571 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.3754, allocations: 64.16 kB / 0.5711 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.3759, allocations: 33.72 kB / 0.5711 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.3766, allocations: 427.3 kB / 0.5715 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3769, allocations: 0.735 MB / 0.5722 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.3771, allocations: 71.89 kB / 0.5723 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.3771, allocations: 21.67 kB / 0.5723 GB, free: 26.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3771, allocations: 0 / 0.5723 GB, free: 26.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005137/0.3823, allocations: 1.756 MB / 0.574 GB, free: 26.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)