Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.0007011/0.0007014, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008564/0.0008564, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.236/1.236, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6214/0.6214, allocations: 113.7 MB / 405.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 8.938 kB / 493.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.00486/0.1305, allocations: 3.336 MB / 0.5602 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1329, allocations: 1.606 MB / 0.5617 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1331, allocations: 4 kB / 0.5617 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1334, allocations: 59.5 kB / 0.5618 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.1338, allocations: 175.2 kB / 0.562 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.1342, allocations: 158.4 kB / 0.5621 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.1348, allocations: 0.5334 MB / 0.5626 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.1352, allocations: 297.4 kB / 0.5629 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1354, allocations: 155.4 kB / 0.5631 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.1358, allocations: 195.3 kB / 0.5632 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.1358, allocations: 16 kB / 0.5633 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1361, allocations: 119.8 kB / 0.5634 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1362, allocations: 107.6 kB / 0.5635 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.1363, allocations: 81.58 kB / 0.5636 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.1366, allocations: 379 kB / 0.5639 GB, free: 4.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1367, allocations: 4 kB / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1367, allocations: 0 / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1367, allocations: 0 / 0.5639 GB, free: 4.445 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008095/0.1375, allocations: 0.5769 MB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1375, allocations: 12.03 kB / 0.5645 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.098e-05/0.1376, allocations: 74.47 kB / 0.5646 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.1384, allocations: 135.5 kB / 0.5647 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1387, allocations: 282.5 kB / 0.565 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1388, allocations: 20.66 kB / 0.565 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1388, allocations: 24 kB / 0.565 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.1394, allocations: 463.5 kB / 0.5654 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1394, allocations: 3.938 kB / 0.5654 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.1395, allocations: 12 kB / 0.5655 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.1395, allocations: 36.55 kB / 0.5655 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.1399, allocations: 313.9 kB / 0.5658 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1418, allocations: 2.189 MB / 0.5679 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.1421, allocations: 251.8 kB / 0.5682 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1423, allocations: 116.8 kB / 0.5683 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1423, allocations: 0 / 0.5683 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1424, allocations: 34.56 kB / 0.5683 GB, free: 15.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1424, allocations: 4 kB / 0.5683 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005065/0.1429, allocations: 311.4 kB / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1429, allocations: 51.41 kB / 0.5687 GB, free: 15.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1432, allocations: 266.6 kB / 0.5689 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1432, allocations: 29.7 kB / 0.5689 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1433, allocations: 207.8 kB / 0.5691 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1434, allocations: 47.28 kB / 0.5692 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.1434, allocations: 8.094 kB / 0.5692 GB, free: 14.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.1435, allocations: 342.8 kB / 0.5695 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.1436, allocations: 52.44 kB / 0.5696 GB, free: 14.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1437, allocations: 145.4 kB / 0.5697 GB, free: 14.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1438, allocations: 77.67 kB / 0.5698 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1438, allocations: 0 / 0.5698 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003623/0.1442, allocations: 273.8 kB / 0.5701 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1442, allocations: 8 kB / 0.5701 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1442, allocations: 7.938 kB / 0.5701 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.1443, allocations: 25.22 kB / 0.5701 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1445, allocations: 55.91 kB / 0.5701 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008306/0.1454, allocations: 1.311 MB / 0.5714 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1455, allocations: 31.7 kB / 0.5715 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1455, allocations: 16.06 kB / 0.5715 GB, free: 12.07 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1457, allocations: 165.7 kB / 0.5716 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1457, allocations: 23.72 kB / 0.5717 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1458, allocations: 21.84 kB / 0.5717 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1458, allocations: 4 kB / 0.5717 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1458, allocations: 4.078 kB / 0.5717 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1458, allocations: 4 kB / 0.5717 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.1465, allocations: 0.7065 MB / 0.5724 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1466, allocations: 0 / 0.5724 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1466, allocations: 23.98 kB / 0.5724 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-05/0.1467, allocations: 28.78 kB / 0.5724 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1467, allocations: 4 kB / 0.5724 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007411/0.1475, allocations: 1.312 MB / 0.5737 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1475, allocations: 3.938 kB / 0.5737 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1478, allocations: 319.1 kB / 0.574 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.1479, allocations: 112.8 kB / 0.5741 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1479, allocations: 11.98 kB / 0.5741 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1481, allocations: 12 kB / 0.5741 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.1481, allocations: 11.98 kB / 0.5742 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1481, allocations: 8 kB / 0.5742 GB, free: 9.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1483, allocations: 190 kB / 0.5743 GB, free: 8.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1483, allocations: 0 / 0.5743 GB, free: 8.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.1486, allocations: 79.88 kB / 0.5744 GB, free: 8.762 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004941/0.1491, allocations: 0.8552 MB / 0.5753 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.1495, allocations: 268.6 kB / 0.5755 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1495, allocations: 0.75 kB / 0.5755 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1497, allocations: 182.6 kB / 0.5757 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1501, allocations: 56.52 kB / 0.5757 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.152, allocations: 1.517 MB / 0.5772 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1523, allocations: 0.7913 MB / 0.578 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1524, allocations: 46.27 kB / 0.578 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1526, allocations: 87.41 kB / 0.5781 GB, free: 4.777 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1526, allocations: 0 / 0.5781 GB, free: 4.777 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.1682, allocations: 4.899 MB / 0.5829 GB, free: 60 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2345/0.4027, allocations: 196.2 kB / 0.5831 GB, free: 36.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.95, allocations: 0 / 0.5831 GB, free: 36.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) Environment - environmentSimulation: