Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.0007247/0.000725, 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.000851/0.0008511, allocations: 172.9 kB / 16.58 MB, free: 6.797 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.215/1.215, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 8.781 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.003868/0.1286, allocations: 3.351 MB / 0.5602 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1309, allocations: 1.653 MB / 0.5618 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.1312, allocations: 11.94 kB / 0.5618 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1314, allocations: 55.56 kB / 0.5619 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1319, allocations: 195 kB / 0.562 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1324, allocations: 195.6 kB / 0.5622 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.133, allocations: 0.5647 MB / 0.5628 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.1334, allocations: 336.3 kB / 0.5631 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1337, allocations: 155.4 kB / 0.5632 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.134, allocations: 223.2 kB / 0.5635 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.1341, allocations: 16 kB / 0.5635 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1343, allocations: 79.88 kB / 0.5636 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1344, allocations: 115.7 kB / 0.5637 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.1345, allocations: 85.5 kB / 0.5637 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1349, allocations: 363.4 kB / 0.5641 GB, free: 4.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1349, allocations: 0 / 0.5641 GB, free: 4.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1349, allocations: 0 / 0.5641 GB, free: 4.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1349, allocations: 0 / 0.5641 GB, free: 4.238 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008794/0.1358, allocations: 0.6118 MB / 0.5647 GB, free: 3.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1358, allocations: 8.031 kB / 0.5647 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.1359, allocations: 70.53 kB / 0.5648 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.1364, allocations: 91.41 kB / 0.5649 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1367, allocations: 286.4 kB / 0.5651 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1368, allocations: 24.64 kB / 0.5651 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1368, allocations: 28 kB / 0.5652 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.1375, allocations: 497.8 kB / 0.5656 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1376, allocations: 0 / 0.5656 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.1376, allocations: 15.98 kB / 0.5657 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.1377, allocations: 36.64 kB / 0.5657 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.1383, allocations: 386.2 kB / 0.5661 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1402, allocations: 2.037 MB / 0.5681 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.1407, allocations: 230.7 kB / 0.5683 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1411, allocations: 168.8 kB / 0.5684 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1411, allocations: 4 kB / 0.5684 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1412, allocations: 42.55 kB / 0.5685 GB, free: 15.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1412, allocations: 0 / 0.5685 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001014/0.1422, allocations: 455 kB / 0.5689 GB, free: 14.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1422, allocations: 59.34 kB / 0.569 GB, free: 14.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1425, allocations: 258.7 kB / 0.5692 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1425, allocations: 33.69 kB / 0.5693 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1426, allocations: 207.6 kB / 0.5694 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1427, allocations: 71.03 kB / 0.5695 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.1427, allocations: 4 kB / 0.5695 GB, free: 14.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1428, allocations: 334.8 kB / 0.5698 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1431, allocations: 100.5 kB / 0.5699 GB, free: 13.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.1433, allocations: 213.9 kB / 0.5701 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.1436, allocations: 135.8 kB / 0.5703 GB, free: 13.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1436, allocations: 0 / 0.5703 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000694/0.1443, allocations: 381.9 kB / 0.5706 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1444, allocations: 196.2 kB / 0.5708 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1445, allocations: 8 kB / 0.5708 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.1446, allocations: 32.83 kB / 0.5709 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1449, allocations: 75.91 kB / 0.5709 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1461, allocations: 1.327 MB / 0.5722 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1463, allocations: 47.66 kB / 0.5723 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.1464, allocations: 16 kB / 0.5723 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.1464, allocations: 4 kB / 0.5723 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005884/0.147, allocations: 299.8 kB / 0.5726 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.147, allocations: 4 kB / 0.5726 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.147, allocations: 4 kB / 0.5726 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1472, allocations: 84.02 kB / 0.5727 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1473, allocations: 8 kB / 0.5727 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1475, allocations: 35.83 kB / 0.5727 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1475, allocations: 11.98 kB / 0.5727 GB, free: 10.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.1477, allocations: 249.6 kB / 0.573 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.1477, allocations: 31.67 kB / 0.573 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.1478, allocations: 30.17 kB / 0.573 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1478, allocations: 4 kB / 0.573 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1478, allocations: 0 / 0.573 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1478, allocations: 0 / 0.573 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1489, allocations: 0.779 MB / 0.5738 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1489, allocations: 0 / 0.5738 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1491, allocations: 43.97 kB / 0.5738 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.1492, allocations: 28.78 kB / 0.5738 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1492, allocations: 11.94 kB / 0.5739 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009298/0.1501, allocations: 1.315 MB / 0.5751 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1502, allocations: 3.938 kB / 0.5751 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.1507, allocations: 389.8 kB / 0.5755 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.1508, allocations: 108.8 kB / 0.5756 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1509, allocations: 8 kB / 0.5756 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.151, allocations: 27.97 kB / 0.5757 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.1511, allocations: 19.86 kB / 0.5757 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1511, allocations: 8 kB / 0.5757 GB, free: 7.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1513, allocations: 182 kB / 0.5759 GB, free: 7.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 0 / 0.5759 GB, free: 7.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.1518, allocations: 147.4 kB / 0.576 GB, free: 7.109 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007929/0.1526, allocations: 0.92 MB / 0.5769 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.1535, allocations: 0.5089 MB / 0.5774 GB, free: 5.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1536, allocations: 4 kB / 0.5774 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1539, allocations: 230.8 kB / 0.5776 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.1544, allocations: 60.64 kB / 0.5777 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1568, allocations: 1.711 MB / 0.5793 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1572, allocations: 0.7996 MB / 0.5801 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1574, allocations: 74.22 kB / 0.5802 GB, free: 2.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1576, allocations: 87.41 kB / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1576, allocations: 0 / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2321/0.3897, allocations: 5.676 MB / 0.5858 GB, free: 31.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.3898, allocations: 207.9 kB / 0.586 GB, free: 31.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.033, allocations: 1.031 kB / 0.586 GB, free: 31.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: