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.00117/0.00117, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001162/0.001162, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.81 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002859/0.1486, allocations: 1.434 MB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.1494, allocations: 387.5 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1495, allocations: 0 / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.1496, allocations: 3.984 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.1497, allocations: 3.938 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1502, allocations: 115.6 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.1502, allocations: 31.92 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.1503, allocations: 4 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.1504, allocations: 11.94 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.1504, allocations: 11.97 kB / 0.6335 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1504, allocations: 4 kB / 0.6335 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1508, allocations: 275.6 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1509, allocations: 3.938 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1509, allocations: 11.94 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.1511, allocations: 111.7 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1511, allocations: 0 / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1511, allocations: 4 kB / 0.6339 GB, free: 2.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1511, allocations: 0 / 0.6339 GB, free: 2.488 MB / 478.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.000476/0.1516, allocations: 362.3 kB / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1517, allocations: 12.03 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1517, allocations: 34.75 kB / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1518, allocations: 0.9375 kB / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1519, allocations: 177.1 kB / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1519, allocations: 384 / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1519, allocations: 384 / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1521, allocations: 54.23 kB / 0.6345 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1521, allocations: 3.938 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1521, allocations: 0 / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.1521, allocations: 4 kB / 0.6345 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1523, allocations: 35.89 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1526, allocations: 253 kB / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1528, allocations: 42.5 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.1529, allocations: 20.91 kB / 0.6349 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/0.1536, allocations: 465.5 kB / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1536, allocations: 30.56 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.1536, allocations: 7.938 kB / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003536/0.154, allocations: 85.58 kB / 0.6354 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.154, allocations: 55.53 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.1541, allocations: 105.8 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1541, allocations: 25.7 kB / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.1542, allocations: 80.14 kB / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1542, allocations: 7.906 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1542, allocations: 17.66 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.1543, allocations: 314.8 kB / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.1544, allocations: 23.98 kB / 0.636 GB, free: 0 / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.1545, allocations: 15.98 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1546, allocations: 40.77 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1547, allocations: 3.938 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.1549, allocations: 73.62 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1549, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1549, allocations: 256 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1549, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.155, allocations: 15.98 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.155, allocations: 0 / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.1551, allocations: 7.984 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1551, allocations: 0 / 0.6362 GB, free: 15.83 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.1551, allocations: 117.8 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.1552, allocations: 4.031 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1554, allocations: 77.12 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1554, allocations: 0 / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1554, allocations: 0 / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1554, allocations: 3.984 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1556, allocations: 165.6 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1556, allocations: 0 / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.1557, allocations: 7.984 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1557, allocations: 4.031 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1557, allocations: 4 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1557, allocations: 0 / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1557, allocations: 0 / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1559, allocations: 171.3 kB / 0.6367 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.156, allocations: 77.11 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.156, allocations: 4.031 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1561, allocations: 7.984 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1561, allocations: 4 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1561, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.1562, allocations: 87.27 kB / 0.6369 GB, free: 15.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1562, allocations: 0 / 0.6369 GB, free: 15.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1564, allocations: 15.94 kB / 0.6369 GB, free: 14.99 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005484/0.157, allocations: 0.7124 MB / 0.6376 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1572, allocations: 39.89 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1572, allocations: 96 / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.1573, allocations: 23.98 kB / 0.6377 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1576, allocations: 5.719 kB / 0.6377 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.158, allocations: 151.1 kB / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1582, allocations: 0.6729 MB / 0.6385 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.1583, allocations: 8.172 kB / 0.6385 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.1583, allocations: 11.44 kB / 0.6385 GB, free: 13.28 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1583, allocations: 4.062 kB / 0.6385 GB, free: 13.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1737, allocations: 1.615 MB / 0.6401 GB, free: 11.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.753, allocations: 13.72 kB / 0.6401 GB, free: 11.73 MB / 494.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/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)