Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.0006844/0.0006844, 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.0007376/0.0007377, allocations: 171.3 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6078/0.6078, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 12 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001248/0.1306, allocations: 1.145 MB / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.1312, allocations: 352 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1312, allocations: 0 / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.1313, allocations: 3.984 kB / 0.5584 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.1313, allocations: 3.938 kB / 0.5584 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1316, allocations: 75.84 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.1317, allocations: 23.92 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1317, allocations: 4 kB / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.1318, allocations: 11.94 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.1318, allocations: 7.984 kB / 0.5585 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1318, allocations: 0 / 0.5585 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1321, allocations: 267.7 kB / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.1321, allocations: 7.938 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.1322, allocations: 29.69 kB / 0.5588 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1323, allocations: 75.86 kB / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1323, allocations: 7.875 kB / 0.5588 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1323, allocations: 0 / 0.5588 GB, free: 9.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.1323, allocations: 0 / 0.5588 GB, free: 9.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003707/0.1327, allocations: 363.5 kB / 0.5592 GB, free: 9.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1327, allocations: 8.031 kB / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1328, allocations: 30.56 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1328, allocations: 8 kB / 0.5592 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/0.1329, allocations: 167.1 kB / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1329, allocations: 4 kB / 0.5594 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.1329, allocations: 0 / 0.5594 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1331, allocations: 57.58 kB / 0.5595 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1331, allocations: 3.984 kB / 0.5595 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-06/0.1331, allocations: 0 / 0.5595 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1331, allocations: 4 kB / 0.5595 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1333, allocations: 43.97 kB / 0.5595 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.1335, allocations: 249 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1337, allocations: 46.52 kB / 0.5598 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.1337, allocations: 32.84 kB / 0.5598 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.1343, allocations: 465.5 kB / 0.5603 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1343, allocations: 30.56 kB / 0.5603 GB, free: 7.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1343, allocations: 0 / 0.5603 GB, free: 7.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003009/0.1347, allocations: 105.5 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1347, allocations: 51.41 kB / 0.5604 GB, free: 7.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.1348, allocations: 106 kB / 0.5605 GB, free: 7.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1348, allocations: 29.7 kB / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.1348, allocations: 84.14 kB / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.1348, allocations: 7.844 kB / 0.5607 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.1348, allocations: 4 kB / 0.5607 GB, free: 7.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.1349, allocations: 314.8 kB / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.135, allocations: 23.92 kB / 0.561 GB, free: 7.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.1351, allocations: 27.98 kB / 0.561 GB, free: 7.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.1352, allocations: 23.92 kB / 0.561 GB, free: 7.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1352, allocations: 0 / 0.561 GB, free: 7.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.1353, allocations: 81.67 kB / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1354, allocations: 5.406 kB / 0.5611 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1354, allocations: 4 kB / 0.5611 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.1354, allocations: 0 / 0.5611 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.1355, allocations: 15.98 kB / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1355, allocations: 0 / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1355, allocations: 12.02 kB / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1355, allocations: 4 kB / 0.5611 GB, free: 6.961 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.1356, allocations: 105.8 kB / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1356, allocations: 15.8 kB / 0.5613 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1358, allocations: 89.12 kB / 0.5613 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.1359, allocations: 3.984 kB / 0.5614 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1359, allocations: 0 / 0.5614 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1359, allocations: 0 / 0.5614 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.136, allocations: 157.7 kB / 0.5615 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.136, allocations: 4 kB / 0.5615 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.1361, allocations: 11.98 kB / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1361, allocations: 4.031 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1361, allocations: 4.203 kB / 0.5615 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1361, allocations: 4 kB / 0.5615 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1361, allocations: 0 / 0.5615 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.1363, allocations: 179.5 kB / 0.5617 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.1364, allocations: 77.11 kB / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.1364, allocations: 0 / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.1365, allocations: 15.94 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1365, allocations: 0 / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1365, allocations: 4 kB / 0.5618 GB, free: 6.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.162e-05/0.1365, allocations: 83.28 kB / 0.5619 GB, free: 6.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1365, allocations: 4.031 kB / 0.5619 GB, free: 6.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1367, allocations: 19.98 kB / 0.5619 GB, free: 6.094 MB / 430.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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004832/0.1372, allocations: 0.713 MB / 0.5626 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1374, allocations: 51.95 kB / 0.5626 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1374, allocations: 0 / 0.5626 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.1375, allocations: 28.02 kB / 0.5627 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1377, allocations: 11.95 kB / 0.5627 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1381, allocations: 142.4 kB / 0.5628 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1383, allocations: 0.677 MB / 0.5635 GB, free: 4.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.1383, allocations: 8.062 kB / 0.5635 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.1383, allocations: 7.438 kB / 0.5635 GB, free: 4.371 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1383, allocations: 3.938 kB / 0.5635 GB, free: 4.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009543/0.1479, allocations: 1.327 MB / 0.5648 GB, free: 3.172 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.148, allocations: 193.2 kB / 0.565 GB, free: 2.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.571, allocations: 0 / 0.565 GB, free: 2.922 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: