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.001135/0.001135, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5095/0.5095, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 96.17 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004103, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 72.31 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6855, allocations: 102.1 MB / 0.6687 GB, free: 2.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6858, allocations: 71.95 kB / 0.6688 GB, free: 2.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.6994, allocations: 4.377 MB / 0.673 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6995, allocations: 4 kB / 0.673 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.6995, allocations: 4 kB / 0.673 GB, free: 13.8 MB / 474.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.0005828/0.7001, allocations: 379.8 kB / 0.6734 GB, free: 13.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.7002, allocations: 8.031 kB / 0.6734 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.7002, allocations: 38.5 kB / 0.6734 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.7003, allocations: 3.953 kB / 0.6734 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.7005, allocations: 171 kB / 0.6736 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7005, allocations: 0 / 0.6736 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.7005, allocations: 4 kB / 0.6736 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.7008, allocations: 57.61 kB / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.7008, allocations: 0 / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7008, allocations: 3.938 kB / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7008, allocations: 0 / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.701, allocations: 55.91 kB / 0.6737 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.7015, allocations: 268.9 kB / 0.674 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.7017, allocations: 42.56 kB / 0.674 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.7023, allocations: 461.5 kB / 0.6745 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7024, allocations: 30.56 kB / 0.6745 GB, free: 12.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.7024, allocations: 4 kB / 0.6745 GB, free: 12.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004426/0.7028, allocations: 105.5 kB / 0.6746 GB, free: 11.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.7029, allocations: 51.41 kB / 0.6746 GB, free: 11.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.703, allocations: 101 kB / 0.6747 GB, free: 11.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.703, allocations: 25.7 kB / 0.6748 GB, free: 11.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.7031, allocations: 84.14 kB / 0.6748 GB, free: 11.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.7031, allocations: 11.84 kB / 0.6749 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.7031, allocations: 4.125 kB / 0.6749 GB, free: 11.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7033, allocations: 314.8 kB / 0.6752 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.7034, allocations: 23.98 kB / 0.6752 GB, free: 11.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.7035, allocations: 15.98 kB / 0.6752 GB, free: 11.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.7036, allocations: 28.05 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7036, allocations: 0 / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002549/0.7038, allocations: 77.56 kB / 0.6753 GB, free: 11.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7039, allocations: 15.97 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7039, allocations: 0 / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7039, allocations: 0 / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.704, allocations: 11.98 kB / 0.6753 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.704, allocations: 3.953 kB / 0.6753 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.7041, allocations: 8 kB / 0.6753 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7041, allocations: 3.984 kB / 0.6753 GB, free: 11.13 MB / 474.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 () * 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 7.378e-05/0.7042, allocations: 113.8 kB / 0.6754 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.7042, allocations: 4 kB / 0.6755 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.7045, allocations: 81.19 kB / 0.6755 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7045, allocations: 0 / 0.6755 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7045, allocations: 4.281 kB / 0.6755 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7045, allocations: 3.953 kB / 0.6755 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.7047, allocations: 169.6 kB / 0.6757 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7047, allocations: 0 / 0.6757 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.7048, allocations: 15.92 kB / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7048, allocations: 0 / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.7048, allocations: 0 / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7048, allocations: 3.984 kB / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7048, allocations: 3.938 kB / 0.6757 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.7051, allocations: 179.5 kB / 0.6759 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.7052, allocations: 81.02 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.7052, allocations: 4 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.7053, allocations: 12.02 kB / 0.676 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.7053, allocations: 0 / 0.676 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.7053, allocations: 4 kB / 0.676 GB, free: 10.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.7054, allocations: 83.28 kB / 0.6761 GB, free: 10.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7054, allocations: 0 / 0.6761 GB, free: 10.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.7057, allocations: 19.98 kB / 0.6761 GB, free: 10.26 MB / 474.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 () * 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.0006775/0.7063, allocations: 0.7279 MB / 0.6768 GB, free: 9.508 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.7066, allocations: 51.98 kB / 0.6768 GB, free: 9.457 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7066, allocations: 0 / 0.6768 GB, free: 9.457 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.7067, allocations: 27.92 kB / 0.6769 GB, free: 9.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.7069, allocations: 4.125 kB / 0.6769 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.7074, allocations: 146.9 kB / 0.677 GB, free: 9.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.7077, allocations: 0.6848 MB / 0.6777 GB, free: 8.527 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.7077, allocations: 0 / 0.6777 GB, free: 8.527 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.7077, allocations: 19.36 kB / 0.6777 GB, free: 8.508 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7078, allocations: 0 / 0.6777 GB, free: 8.508 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.7205, allocations: 1.29 MB / 0.679 GB, free: 7.336 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.7207, allocations: 168.4 kB / 0.6791 GB, free: 7.098 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.265, allocations: 0 / 0.6791 GB, free: 7.098 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)