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.001503/0.001503, allocations: 111.3 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.001571/0.001572, 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7238/0.7238, allocations: 115.1 MB / 407 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 72.11 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3623, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003946/0.3663, allocations: 2.405 MB / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3683, allocations: 1.419 MB / 0.5613 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.3684, allocations: 2.5 kB / 0.5613 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.3691, allocations: 178.1 kB / 0.5615 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.3694, allocations: 133 kB / 0.5616 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.3698, allocations: 183 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.3701, allocations: 215.6 kB / 0.562 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.3704, allocations: 119.1 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3706, allocations: 86.09 kB / 0.5622 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3709, allocations: 106.7 kB / 0.5623 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3709, allocations: 13.53 kB / 0.5623 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.3712, allocations: 180 kB / 0.5625 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.3713, allocations: 62.8 kB / 0.5625 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.3714, allocations: 83.64 kB / 0.5626 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.3718, allocations: 284.4 kB / 0.5629 GB, free: 33.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3718, allocations: 1.938 kB / 0.5629 GB, free: 33.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3718, allocations: 0 / 0.5629 GB, free: 33.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3718, allocations: 1.031 kB / 0.5629 GB, free: 33.44 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.0005689/0.3724, allocations: 465.8 kB / 0.5633 GB, free: 33.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3724, allocations: 10.38 kB / 0.5633 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.3729, allocations: 63.64 kB / 0.5634 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3732, allocations: 234 kB / 0.5636 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3732, allocations: 10.16 kB / 0.5636 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.3732, allocations: 18.09 kB / 0.5637 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.3737, allocations: 289.9 kB / 0.5639 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3737, allocations: 1.125 kB / 0.5639 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3737, allocations: 8.125 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.3738, allocations: 24.11 kB / 0.564 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.3741, allocations: 207.2 kB / 0.5642 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.3755, allocations: 1.58 MB / 0.5657 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3758, allocations: 329.6 kB / 0.566 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.376, allocations: 63.86 kB / 0.5661 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.376, allocations: 2 kB / 0.5661 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.376, allocations: 34.33 kB / 0.5661 GB, free: 30.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.376, allocations: 0 / 0.5661 GB, free: 30.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000516/0.3765, allocations: 244.1 kB / 0.5663 GB, free: 30.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3766, allocations: 79.25 kB / 0.5664 GB, free: 30.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3768, allocations: 199.9 kB / 0.5666 GB, free: 30.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3768, allocations: 30.77 kB / 0.5666 GB, free: 30.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3768, allocations: 159.9 kB / 0.5668 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3769, allocations: 32.83 kB / 0.5668 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.377, allocations: 57 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.377, allocations: 323.2 kB / 0.5672 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3771, allocations: 75.83 kB / 0.5673 GB, free: 29.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3773, allocations: 149.8 kB / 0.5674 GB, free: 29.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.3775, allocations: 238.8 kB / 0.5676 GB, free: 29.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3775, allocations: 1.156 kB / 0.5676 GB, free: 29.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003573/0.3779, allocations: 254.7 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3779, allocations: 6.406 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3779, allocations: 4.891 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3779, allocations: 8.844 kB / 0.5679 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3782, allocations: 54.2 kB / 0.5679 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3782, allocations: 10.42 kB / 0.568 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3783, allocations: 10.56 kB / 0.568 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3784, allocations: 16.08 kB / 0.568 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001352/0.3785, allocations: 157.6 kB / 0.5681 GB, free: 29.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001176/0.3786, allocations: 152.4 kB / 0.5683 GB, free: 29.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002006/0.3788, allocations: 218.7 kB / 0.5685 GB, free: 29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.3788, allocations: 1.281 kB / 0.5685 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00032/0.3792, allocations: 239.7 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.3792, allocations: 6.938 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3792, allocations: 3.406 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.3792, allocations: 4.094 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3794, allocations: 53.06 kB / 0.5688 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3794, allocations: 9.406 kB / 0.5688 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3795, allocations: 11.92 kB / 0.5688 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3795, allocations: 13.91 kB / 0.5688 GB, free: 28.88 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 6.18e-05/0.3796, allocations: 191.9 kB / 0.569 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3797, allocations: 14.48 kB / 0.569 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3799, allocations: 149.1 kB / 0.5692 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3799, allocations: 7.406 kB / 0.5692 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3799, allocations: 3.938 kB / 0.5692 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3799, allocations: 3.219 kB / 0.5692 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.3808, allocations: 0.7152 MB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3808, allocations: 3.719 kB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3809, allocations: 26.81 kB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3809, allocations: 4.516 kB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3809, allocations: 4.438 kB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3809, allocations: 9.172 kB / 0.5699 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3809, allocations: 6.219 kB / 0.5699 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3812, allocations: 383.1 kB / 0.5703 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.3813, allocations: 105.2 kB / 0.5704 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3813, allocations: 5.578 kB / 0.5704 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3815, allocations: 12.23 kB / 0.5704 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.3815, allocations: 19.19 kB / 0.5704 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3815, allocations: 6.453 kB / 0.5704 GB, free: 27.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3816, allocations: 150.2 kB / 0.5706 GB, free: 27.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.3816, allocations: 0 / 0.5706 GB, free: 27.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.3821, allocations: 75.66 kB / 0.5706 GB, free: 27.48 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.0001232/0.3823, allocations: 109 kB / 0.5707 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3827, allocations: 263.5 kB / 0.571 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3827, allocations: 1.906 kB / 0.571 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.3828, allocations: 63.81 kB / 0.5711 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3832, allocations: 37.42 kB / 0.5711 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.3839, allocations: 429.1 kB / 0.5715 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3841, allocations: 0.7328 MB / 0.5722 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3843, allocations: 73.72 kB / 0.5723 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3844, allocations: 17.05 kB / 0.5723 GB, free: 26.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3844, allocations: 1 kB / 0.5723 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Templates: time 0.00489/0.3893, allocations: 1.761 MB / 0.574 GB, free: 26.13 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)