Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 108.3 kB / 15.99 MB, free: 6.352 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.001894/0.001894, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.89 kB / 0.4906 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3551, allocations: 77.92 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004473/0.3596, allocations: 3.236 MB / 0.5698 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3615, allocations: 1.355 MB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3616, allocations: 4.688 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.3625, allocations: 326 kB / 0.5715 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3628, allocations: 128.6 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3632, allocations: 136.4 kB / 0.5717 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.3635, allocations: 334.2 kB / 0.5721 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.364, allocations: 280 kB / 0.5723 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3642, allocations: 136.9 kB / 0.5725 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3644, allocations: 156 kB / 0.5726 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3645, allocations: 19.69 kB / 0.5726 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3648, allocations: 166.2 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.3649, allocations: 85.66 kB / 0.5729 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.365, allocations: 121.2 kB / 0.573 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3655, allocations: 372.2 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3655, allocations: 1.156 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3655, allocations: 1.281 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3655, allocations: 0 / 0.5733 GB, free: 28.57 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008414/0.3664, allocations: 0.5385 MB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3664, allocations: 11.91 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006208/0.3671, allocations: 82.19 kB / 0.5739 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.3673, allocations: 246.4 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3674, allocations: 12.88 kB / 0.5742 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.3674, allocations: 18.47 kB / 0.5742 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.3679, allocations: 325 kB / 0.5745 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.368, allocations: 1.031 kB / 0.5745 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.368, allocations: 8.031 kB / 0.5745 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.368, allocations: 20.88 kB / 0.5746 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.3684, allocations: 212.2 kB / 0.5748 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3697, allocations: 1.507 MB / 0.5762 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.3702, allocations: 202.4 kB / 0.5764 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.3703, allocations: 44.3 kB / 0.5765 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3703, allocations: 1.344 kB / 0.5765 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3703, allocations: 32.5 kB / 0.5765 GB, free: 26.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3703, allocations: 0.9062 kB / 0.5765 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005728/0.3709, allocations: 269.1 kB / 0.5768 GB, free: 25.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.371, allocations: 53.22 kB / 0.5768 GB, free: 25.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3712, allocations: 208.6 kB / 0.577 GB, free: 25.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3712, allocations: 26.27 kB / 0.577 GB, free: 25.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.3713, allocations: 178.5 kB / 0.5772 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3713, allocations: 26.22 kB / 0.5772 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3714, allocations: 43.44 kB / 0.5773 GB, free: 25.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.3714, allocations: 332.1 kB / 0.5776 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3715, allocations: 46.89 kB / 0.5776 GB, free: 25.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3717, allocations: 110.1 kB / 0.5777 GB, free: 24.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.372, allocations: 164.8 kB / 0.5779 GB, free: 24.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.372, allocations: 1.312 kB / 0.5779 GB, free: 24.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004094/0.3724, allocations: 208.2 kB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3724, allocations: 9 kB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.3724, allocations: 2.438 kB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.3726, allocations: 34.44 kB / 0.5781 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3728, allocations: 41.5 kB / 0.5782 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/0.3736, allocations: 1.423 MB / 0.5796 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.3738, allocations: 17.45 kB / 0.5796 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3738, allocations: 11 kB / 0.5796 GB, free: 23.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3739, allocations: 154 kB / 0.5797 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3739, allocations: 14.94 kB / 0.5797 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.374, allocations: 20.88 kB / 0.5798 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.374, allocations: 1.438 kB / 0.5798 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.374, allocations: 0 / 0.5798 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.374, allocations: 3.312 kB / 0.5798 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.3746, allocations: 491.6 kB / 0.5802 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3746, allocations: 0 / 0.5802 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.3746, allocations: 16.2 kB / 0.5803 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.3747, allocations: 21.95 kB / 0.5803 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3747, allocations: 7.938 kB / 0.5803 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/0.3754, allocations: 1.427 MB / 0.5817 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3754, allocations: 1.375 kB / 0.5817 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3757, allocations: 234.8 kB / 0.5819 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3758, allocations: 101 kB / 0.582 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3758, allocations: 5.156 kB / 0.582 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.376, allocations: 8.766 kB / 0.582 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.376, allocations: 5.281 kB / 0.582 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.376, allocations: 1.375 kB / 0.582 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3761, allocations: 152.6 kB / 0.5822 GB, free: 20.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3761, allocations: 0 / 0.5822 GB, free: 20.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.3765, allocations: 67.62 kB / 0.5822 GB, free: 20.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.737e-05/0.3766, allocations: 100.8 kB / 0.5823 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.377, allocations: 235.8 kB / 0.5826 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.377, allocations: 1.625 kB / 0.5826 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.3772, allocations: 164.7 kB / 0.5827 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3776, allocations: 35.3 kB / 0.5827 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.3782, allocations: 482.5 kB / 0.5832 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3784, allocations: 0.7533 MB / 0.5839 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3785, allocations: 31.53 kB / 0.584 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.3786, allocations: 14.75 kB / 0.584 GB, free: 19.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3786, allocations: 0 / 0.584 GB, free: 19.5 MB / 446.1 MB Notification: Performance of Templates: time 0.005323/0.3839, allocations: 1.91 MB / 0.5858 GB, free: 18.85 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)