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.001069/0.001069, allocations: 106.8 kB / 16.27 MB, free: 5.98 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.001138/0.001138, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.88 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3445, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002291/0.3468, allocations: 1.421 MB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.3474, allocations: 389 kB / 0.569 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.3474, allocations: 1.094 kB / 0.569 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.3475, allocations: 2.875 kB / 0.569 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.3475, allocations: 4.938 kB / 0.569 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3479, allocations: 128.8 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.348, allocations: 24.84 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.348, allocations: 13.36 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.3481, allocations: 13 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.3481, allocations: 12.67 kB / 0.5692 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3481, allocations: 3.156 kB / 0.5692 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.3485, allocations: 272.9 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3485, allocations: 6.484 kB / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.3486, allocations: 11.83 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3488, allocations: 111.3 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3488, allocations: 1.156 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3488, allocations: 0 / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3488, allocations: 0 / 0.5696 GB, free: 31.14 MB / 446.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.0003791/0.3492, allocations: 368.8 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3492, allocations: 11.22 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.3493, allocations: 32.91 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.3493, allocations: 6.703 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.3494, allocations: 163.8 kB / 0.5702 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3494, allocations: 2 kB / 0.5702 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3494, allocations: 7.703 kB / 0.5702 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3496, allocations: 49.42 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3496, allocations: 4.5 kB / 0.5702 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3496, allocations: 5.5 kB / 0.5702 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3496, allocations: 1.344 kB / 0.5702 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3498, allocations: 34.09 kB / 0.5703 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.35, allocations: 245.5 kB / 0.5705 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3501, allocations: 42.36 kB / 0.5706 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.3502, allocations: 26.38 kB / 0.5706 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.3508, allocations: 458.2 kB / 0.571 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3509, allocations: 35.88 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3509, allocations: 1.438 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.3512, allocations: 85.72 kB / 0.5711 GB, free: 29.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.3513, allocations: 54.81 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.3513, allocations: 103.1 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.3513, allocations: 29.7 kB / 0.5713 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.3514, allocations: 83.39 kB / 0.5714 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3514, allocations: 6.266 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.3514, allocations: 16.69 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.3515, allocations: 314.9 kB / 0.5717 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.3516, allocations: 18.72 kB / 0.5717 GB, free: 28.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.3516, allocations: 15.62 kB / 0.5717 GB, free: 28.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3518, allocations: 42.05 kB / 0.5718 GB, free: 28.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3518, allocations: 10.66 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.352, allocations: 72.02 kB / 0.5719 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.352, allocations: 5.812 kB / 0.5719 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3521, allocations: 0 / 0.5719 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3521, allocations: 0 / 0.5719 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.3522, allocations: 12.98 kB / 0.5719 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3522, allocations: 0.6562 kB / 0.5719 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.3522, allocations: 7.078 kB / 0.5719 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3522, allocations: 0 / 0.5719 GB, free: 28.92 MB / 446.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 5.279e-05/0.3523, allocations: 113.6 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3523, allocations: 2.953 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.3526, allocations: 78.25 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3526, allocations: 5.469 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3526, allocations: 0.5938 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3526, allocations: 1.344 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3527, allocations: 162.4 kB / 0.5722 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3527, allocations: 0.5 kB / 0.5722 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.3528, allocations: 14.14 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3528, allocations: 0 / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3528, allocations: 1.125 kB / 0.5723 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3528, allocations: 2.531 kB / 0.5723 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3528, allocations: 1.469 kB / 0.5723 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3531, allocations: 173.9 kB / 0.5724 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.3531, allocations: 82.95 kB / 0.5725 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3531, allocations: 4.703 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3532, allocations: 5.641 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3533, allocations: 3.188 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3533, allocations: 2.156 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.3533, allocations: 87.95 kB / 0.5726 GB, free: 28.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3533, allocations: 0 / 0.5726 GB, free: 28.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3535, allocations: 12.45 kB / 0.5726 GB, free: 28.23 MB / 446.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.0004583/0.354, allocations: 0.7119 MB / 0.5733 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3542, allocations: 36.36 kB / 0.5733 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.3542, allocations: 4.344 kB / 0.5733 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.3543, allocations: 20.33 kB / 0.5734 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3546, allocations: 1.922 kB / 0.5734 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.355, allocations: 145.8 kB / 0.5735 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.3551, allocations: 0.677 MB / 0.5742 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.3551, allocations: 10.52 kB / 0.5742 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.3551, allocations: 19.3 kB / 0.5742 GB, free: 26.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3551, allocations: 1.562 kB / 0.5742 GB, free: 26.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.372, allocations: 1.565 MB / 0.5757 GB, free: 26.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.43, allocations: 9.766 kB / 0.5757 GB, free: 26.34 MB / 446.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)