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.0007538/0.0007538, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007612/0.0007613, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.296/1.296, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6755/0.6755, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 77.54 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003704/0.1477, allocations: 2.868 MB / 0.5628 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1498, allocations: 1.336 MB / 0.5642 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.15, allocations: 4 kB / 0.5642 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1502, allocations: 47.64 kB / 0.5642 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.1506, allocations: 139.4 kB / 0.5643 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.151, allocations: 131.7 kB / 0.5645 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.1515, allocations: 462.6 kB / 0.5649 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.1519, allocations: 253.1 kB / 0.5651 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1521, allocations: 115.5 kB / 0.5653 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1524, allocations: 139.4 kB / 0.5654 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.1524, allocations: 12 kB / 0.5654 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.1528, allocations: 207.6 kB / 0.5656 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.1529, allocations: 75.73 kB / 0.5657 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.153, allocations: 133.1 kB / 0.5658 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1534, allocations: 350.8 kB / 0.5661 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1534, allocations: 3.938 kB / 0.5661 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1534, allocations: 0 / 0.5661 GB, free: 2.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1534, allocations: 0 / 0.5661 GB, free: 2.664 MB / 430.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.0007473/0.1542, allocations: 0.5007 MB / 0.5666 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1542, allocations: 8.031 kB / 0.5666 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.594e-05/0.1543, allocations: 62.72 kB / 0.5667 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.1549, allocations: 88.48 kB / 0.5668 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1552, allocations: 253.4 kB / 0.567 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1552, allocations: 12.81 kB / 0.567 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1553, allocations: 24.36 kB / 0.567 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.1558, allocations: 308.5 kB / 0.5673 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1558, allocations: 7.938 kB / 0.5674 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1558, allocations: 8 kB / 0.5674 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.1559, allocations: 20.42 kB / 0.5674 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.1562, allocations: 217.5 kB / 0.5676 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1577, allocations: 1.509 MB / 0.5691 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1582, allocations: 203.7 kB / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.1583, allocations: 44.83 kB / 0.5693 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1583, allocations: 7.938 kB / 0.5693 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1583, allocations: 38.56 kB / 0.5693 GB, free: 15.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1583, allocations: 0 / 0.5693 GB, free: 15.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.1589, allocations: 255.5 kB / 0.5696 GB, free: 14.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.159, allocations: 51.41 kB / 0.5696 GB, free: 14.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1592, allocations: 224.2 kB / 0.5698 GB, free: 14.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1592, allocations: 29.7 kB / 0.5699 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.1593, allocations: 175.7 kB / 0.57 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1593, allocations: 31.55 kB / 0.5701 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1594, allocations: 17.72 kB / 0.5701 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1595, allocations: 326.8 kB / 0.5704 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.1596, allocations: 47.98 kB / 0.5704 GB, free: 13.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1597, allocations: 112.5 kB / 0.5706 GB, free: 13.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.16, allocations: 168.4 kB / 0.5707 GB, free: 13.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.16, allocations: 4 kB / 0.5707 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003705/0.1603, allocations: 214 kB / 0.5709 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1604, allocations: 9.875 kB / 0.5709 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1604, allocations: 4.219 kB / 0.5709 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.1605, allocations: 36.78 kB / 0.571 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1607, allocations: 27.98 kB / 0.571 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000952/0.1616, allocations: 1.335 MB / 0.5723 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1618, allocations: 23.81 kB / 0.5723 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1618, allocations: 8 kB / 0.5723 GB, free: 11.72 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.0001323/0.1619, allocations: 145.8 kB / 0.5725 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.162, allocations: 23.84 kB / 0.5725 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.162, allocations: 21.39 kB / 0.5725 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.162, allocations: 0 / 0.5725 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.162, allocations: 0 / 0.5725 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.162, allocations: 0 / 0.5725 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.1626, allocations: 491.2 kB / 0.573 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1626, allocations: 0 / 0.573 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.1627, allocations: 15.98 kB / 0.573 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.798e-05/0.1628, allocations: 24.84 kB / 0.573 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1628, allocations: 4 kB / 0.573 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/0.1637, allocations: 1.33 MB / 0.5743 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1637, allocations: 0 / 0.5743 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.164, allocations: 240.7 kB / 0.5746 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.1641, allocations: 96.95 kB / 0.5746 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1641, allocations: 11.98 kB / 0.5747 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1643, allocations: 4 kB / 0.5747 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1643, allocations: 7.984 kB / 0.5747 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.1643, allocations: 3.938 kB / 0.5747 GB, free: 9.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1644, allocations: 145.5 kB / 0.5748 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1644, allocations: 0 / 0.5748 GB, free: 8.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1648, allocations: 63.75 kB / 0.5749 GB, free: 8.875 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.0005403/0.1653, allocations: 0.7822 MB / 0.5756 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.1657, allocations: 230.5 kB / 0.5759 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1657, allocations: 288 / 0.5759 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.1659, allocations: 159.2 kB / 0.576 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1663, allocations: 39.92 kB / 0.576 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1687, allocations: 2.251 MB / 0.5782 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.169, allocations: 0.7596 MB / 0.579 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1691, allocations: 29.52 kB / 0.579 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1692, allocations: 59.42 kB / 0.5791 GB, free: 4.355 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1692, allocations: 0 / 0.5791 GB, free: 4.355 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.1835, allocations: 3.649 MB / 0.5826 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/0.1839, allocations: 218.8 kB / 0.5828 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.873, allocations: 4.062 kB / 0.5828 GB, free: 0.6289 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)