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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.536/0.536, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 95.27 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.697e-05, allocations: 8 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.16, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5584/0.7185, allocations: 101.4 MB / 0.6527 GB, free: 8.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.7187, allocations: 72.77 kB / 0.6527 GB, free: 8.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.7312, allocations: 4.351 MB / 0.657 GB, free: 4.906 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7313, allocations: 0 / 0.657 GB, free: 4.906 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.7313, allocations: 0 / 0.657 GB, free: 4.906 MB / 458.7 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.0004911/0.7318, allocations: 374.9 kB / 0.6573 GB, free: 4.496 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.7319, allocations: 12.03 kB / 0.6574 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.7319, allocations: 3.953 kB / 0.6574 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7321, allocations: 166.4 kB / 0.6575 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.7321, allocations: 0 / 0.6575 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.7321, allocations: 0 / 0.6575 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.469e-05/0.7322, allocations: 11.5 kB / 0.6575 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.7323, allocations: 44.69 kB / 0.6576 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7323, allocations: 4 kB / 0.6576 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.7323, allocations: 0 / 0.6576 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.7324, allocations: 3.953 kB / 0.6576 GB, free: 4.219 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.7328, allocations: 245 kB / 0.6578 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.91e-05/0.7329, allocations: 21.64 kB / 0.6578 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.7329, allocations: 17.23 kB / 0.6578 GB, free: 3.906 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.7336, allocations: 457.5 kB / 0.6583 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7336, allocations: 38.38 kB / 0.6583 GB, free: 3.324 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.7336, allocations: 7.922 kB / 0.6583 GB, free: 3.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.7339, allocations: 44.42 kB / 0.6584 GB, free: 3.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.7339, allocations: 55.36 kB / 0.6584 GB, free: 3.203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.734, allocations: 99.61 kB / 0.6585 GB, free: 3.102 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.734, allocations: 25.7 kB / 0.6585 GB, free: 3.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.7341, allocations: 91.64 kB / 0.6586 GB, free: 2.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.7341, allocations: 7.938 kB / 0.6586 GB, free: 2.973 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.7341, allocations: 0 / 0.6586 GB, free: 2.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7342, allocations: 310.8 kB / 0.6589 GB, free: 2.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.7342, allocations: 7.812 kB / 0.6589 GB, free: 2.656 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.7343, allocations: 7.984 kB / 0.6589 GB, free: 2.648 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.7343, allocations: 7.25 kB / 0.659 GB, free: 2.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7343, allocations: 0 / 0.659 GB, free: 2.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.42e-05/0.7344, allocations: 41.33 kB / 0.659 GB, free: 2.602 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7344, allocations: 13.34 kB / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7345, allocations: 0 / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.7345, allocations: 0 / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.7346, allocations: 11.98 kB / 0.659 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7346, allocations: 0 / 0.659 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.7347, allocations: 15.94 kB / 0.659 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.7347, allocations: 0 / 0.659 GB, free: 2.562 MB / 458.7 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 () * 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 6.672e-05/0.7347, allocations: 105 kB / 0.6591 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001021/0.7348, allocations: 40.83 kB / 0.6592 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.7349, allocations: 3.906 kB / 0.6592 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.735, allocations: 56.03 kB / 0.6592 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.735, allocations: 3.938 kB / 0.6592 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.735, allocations: 3.953 kB / 0.6592 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.735, allocations: 0 / 0.6592 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.7352, allocations: 145.2 kB / 0.6594 GB, free: 2.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7352, allocations: 0 / 0.6594 GB, free: 2.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.7353, allocations: 16.05 kB / 0.6594 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7353, allocations: 0 / 0.6594 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.7353, allocations: 0 / 0.6594 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7353, allocations: 0 / 0.6594 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7353, allocations: 0 / 0.6594 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7354, allocations: 141.8 kB / 0.6595 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.7355, allocations: 85.02 kB / 0.6596 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.7355, allocations: 4.031 kB / 0.6596 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.7356, allocations: 4 kB / 0.6596 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.7357, allocations: 15.86 kB / 0.6596 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.7357, allocations: 0 / 0.6596 GB, free: 1.887 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.7357, allocations: 83.53 kB / 0.6597 GB, free: 1.805 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7357, allocations: 0 / 0.6597 GB, free: 1.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.736, allocations: 16 kB / 0.6597 GB, free: 1.789 MB / 458.7 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 () * 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.0005252/0.7365, allocations: 0.6861 MB / 0.6604 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.7366, allocations: 15.67 kB / 0.6604 GB, free: 1.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7366, allocations: 0 / 0.6604 GB, free: 1.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.7367, allocations: 15.88 kB / 0.6604 GB, free: 1.055 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.7369, allocations: 3.375 kB / 0.6604 GB, free: 1.055 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.7373, allocations: 101.2 kB / 0.6605 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.7375, allocations: 0.6768 MB / 0.6612 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.7376, allocations: 4 kB / 0.6612 GB, free: 220 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.7376, allocations: 11.42 kB / 0.6612 GB, free: 208 kB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7376, allocations: 3.938 kB / 0.6612 GB, free: 204 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.7575, allocations: 0.9845 MB / 0.6622 GB, free: 15.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.7577, allocations: 141.1 kB / 0.6623 GB, free: 15.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/2.19, allocations: 2.625 kB / 0.6623 GB, free: 15.03 MB / 474.7 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)