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: "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 109.1 kB / 15.99 MB, free: 6.344 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.001212/0.001212, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.262/1.262, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 64.05 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3495, allocations: 76.17 MB / 0.556 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004088/0.3536, allocations: 3.238 MB / 0.5592 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3552, allocations: 1.351 MB / 0.5605 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3553, allocations: 8.031 kB / 0.5605 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.3562, allocations: 329.4 kB / 0.5608 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3565, allocations: 133.7 kB / 0.561 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3568, allocations: 127.5 kB / 0.5611 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3571, allocations: 330.4 kB / 0.5614 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.3575, allocations: 292 kB / 0.5617 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3577, allocations: 135.2 kB / 0.5618 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3579, allocations: 154.3 kB / 0.5619 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.358, allocations: 21 kB / 0.562 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.3582, allocations: 165.7 kB / 0.5621 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.3583, allocations: 86.2 kB / 0.5622 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3584, allocations: 121.6 kB / 0.5623 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3588, allocations: 367.5 kB / 0.5627 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3588, allocations: 5.375 kB / 0.5627 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.3588, allocations: 0 / 0.5627 GB, free: 32.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3588, allocations: 0.5625 kB / 0.5627 GB, free: 32.09 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.0007/0.3595, allocations: 0.5351 MB / 0.5632 GB, free: 31.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3596, allocations: 10.27 kB / 0.5632 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.3596, allocations: 61.19 kB / 0.5633 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.3602, allocations: 81.11 kB / 0.5633 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3604, allocations: 251.1 kB / 0.5636 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3604, allocations: 12.66 kB / 0.5636 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3605, allocations: 26.48 kB / 0.5636 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.3609, allocations: 314.8 kB / 0.5639 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3609, allocations: 0 / 0.5639 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.361, allocations: 6.406 kB / 0.5639 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.361, allocations: 20.23 kB / 0.5639 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.3614, allocations: 217.7 kB / 0.5642 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3625, allocations: 1.496 MB / 0.5656 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3629, allocations: 204.2 kB / 0.5658 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.363, allocations: 49.08 kB / 0.5659 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.363, allocations: 0.9062 kB / 0.5659 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3631, allocations: 42.56 kB / 0.5659 GB, free: 29.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3631, allocations: 0 / 0.5659 GB, free: 29.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004778/0.3635, allocations: 263.9 kB / 0.5661 GB, free: 29.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.3636, allocations: 53.92 kB / 0.5662 GB, free: 29.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3637, allocations: 215.3 kB / 0.5664 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3638, allocations: 26.42 kB / 0.5664 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.3638, allocations: 175.6 kB / 0.5666 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3639, allocations: 29.55 kB / 0.5666 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.3639, allocations: 33 kB / 0.5667 GB, free: 28.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.364, allocations: 328.6 kB / 0.567 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.3641, allocations: 43.67 kB / 0.567 GB, free: 28.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3642, allocations: 111.5 kB / 0.5671 GB, free: 28.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3644, allocations: 164.5 kB / 0.5673 GB, free: 28.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3644, allocations: 3 kB / 0.5673 GB, free: 28.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003288/0.3647, allocations: 214.8 kB / 0.5675 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3647, allocations: 6.406 kB / 0.5675 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3647, allocations: 2.938 kB / 0.5675 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.3649, allocations: 32.36 kB / 0.5675 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.365, allocations: 33.06 kB / 0.5676 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/0.3657, allocations: 1.427 MB / 0.5689 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3659, allocations: 19.38 kB / 0.569 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3659, allocations: 8.156 kB / 0.569 GB, free: 26.78 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 9.666e-05/0.366, allocations: 156.9 kB / 0.5691 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3661, allocations: 17.25 kB / 0.5691 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3661, allocations: 24.2 kB / 0.5692 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3661, allocations: 1.281 kB / 0.5692 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3661, allocations: 1.734 kB / 0.5692 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3661, allocations: 1.297 kB / 0.5692 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.3666, allocations: 492.4 kB / 0.5696 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3666, allocations: 0 / 0.5696 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.3667, allocations: 12.36 kB / 0.5696 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.3668, allocations: 26.73 kB / 0.5697 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3668, allocations: 2.438 kB / 0.5697 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.3674, allocations: 1.425 MB / 0.5711 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3675, allocations: 0 / 0.5711 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3677, allocations: 238.9 kB / 0.5713 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3678, allocations: 101.4 kB / 0.5714 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3678, allocations: 0.9688 kB / 0.5714 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3679, allocations: 5.875 kB / 0.5714 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.368, allocations: 6.484 kB / 0.5714 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.368, allocations: 7.062 kB / 0.5714 GB, free: 24.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3681, allocations: 150.5 kB / 0.5716 GB, free: 24.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3681, allocations: 0 / 0.5716 GB, free: 24.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.3684, allocations: 59.22 kB / 0.5716 GB, free: 24.4 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 0.0004111/0.3689, allocations: 0.7724 MB / 0.5724 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.3693, allocations: 237.4 kB / 0.5726 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3693, allocations: 2.188 kB / 0.5726 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3695, allocations: 159.2 kB / 0.5727 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3698, allocations: 45.7 kB / 0.5728 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3718, allocations: 2.235 MB / 0.575 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.372, allocations: 0.7586 MB / 0.5757 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3722, allocations: 28.23 kB / 0.5757 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.3722, allocations: 56.19 kB / 0.5758 GB, free: 20.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3722, allocations: 0 / 0.5758 GB, free: 20.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.3903, allocations: 3.824 MB / 0.5795 GB, free: 20.52 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.3905, allocations: 221.8 kB / 0.5797 GB, free: 20.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.065, allocations: 3.938 kB / 0.5797 GB, free: 20.26 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)