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.0009541/0.0009541, allocations: 95.88 kB / 15.68 MB, free: 488 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.000952/0.000952, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.091/2.091, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.32/1.32, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005297, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002902/0.3088, allocations: 1.142 MB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3101, allocations: 348 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.3102, allocations: 3.938 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3102, allocations: 3.984 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3103, allocations: 8 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.3109, allocations: 71.78 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3111, allocations: 11.98 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3113, allocations: 7.984 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.3114, allocations: 7.938 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.3115, allocations: 11.98 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3115, allocations: 3.938 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.3122, allocations: 267.6 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3122, allocations: 0 / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3123, allocations: 33.7 kB / 0.5586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3125, allocations: 59.88 kB / 0.5586 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3125, allocations: 0 / 0.5586 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.089e-06/0.3126, allocations: 4 kB / 0.5586 GB, free: 9.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3126, allocations: 0 / 0.5586 GB, free: 9.715 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.0008521/0.3134, allocations: 371.5 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.405e-05/0.3135, allocations: 12.03 kB / 0.559 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.3136, allocations: 30.56 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3137, allocations: 4 kB / 0.559 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3139, allocations: 163.1 kB / 0.5592 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.314, allocations: 7.938 kB / 0.5592 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.314, allocations: 3.984 kB / 0.5592 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.3143, allocations: 61.62 kB / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3144, allocations: 0 / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3144, allocations: 0 / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3144, allocations: 4 kB / 0.5593 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.3147, allocations: 43.95 kB / 0.5593 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.3152, allocations: 244.9 kB / 0.5595 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3155, allocations: 54.48 kB / 0.5596 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.3165, allocations: 461.5 kB / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.3166, allocations: 38.55 kB / 0.5601 GB, free: 7.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.3166, allocations: 0 / 0.5601 GB, free: 7.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006538/0.3173, allocations: 97.56 kB / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.3173, allocations: 55.39 kB / 0.5602 GB, free: 7.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3175, allocations: 105.9 kB / 0.5603 GB, free: 7.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3175, allocations: 29.77 kB / 0.5603 GB, free: 7.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3176, allocations: 96.12 kB / 0.5604 GB, free: 7.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3176, allocations: 7.844 kB / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.3177, allocations: 0 / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3178, allocations: 310.8 kB / 0.5607 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.318, allocations: 23.98 kB / 0.5608 GB, free: 7.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3181, allocations: 23.98 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3183, allocations: 23.97 kB / 0.5608 GB, free: 7.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3183, allocations: 0 / 0.5608 GB, free: 7.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003505/0.3186, allocations: 81.69 kB / 0.5609 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.3187, allocations: 4 kB / 0.5609 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3187, allocations: 3.938 kB / 0.5609 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.3187, allocations: 3.984 kB / 0.5609 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3189, allocations: 8 kB / 0.5609 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3189, allocations: 0 / 0.5609 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.319, allocations: 19.95 kB / 0.5609 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.319, allocations: 0 / 0.5609 GB, free: 7.055 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 0.0001449/0.3192, allocations: 117.8 kB / 0.561 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.3193, allocations: 7.859 kB / 0.561 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.3197, allocations: 85.19 kB / 0.5611 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3197, allocations: 3.984 kB / 0.5611 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3197, allocations: 4 kB / 0.5611 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3197, allocations: 0 / 0.5611 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.3201, allocations: 153.7 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3201, allocations: 0 / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.3202, allocations: 11.98 kB / 0.5613 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3202, allocations: 256 / 0.5613 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3203, allocations: 7.984 kB / 0.5613 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3203, allocations: 8 kB / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3203, allocations: 0 / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.3207, allocations: 175.5 kB / 0.5615 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.3208, allocations: 81.11 kB / 0.5616 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3209, allocations: 0 / 0.5616 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.321, allocations: 11.94 kB / 0.5616 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.3211, allocations: 4 kB / 0.5616 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3211, allocations: 0 / 0.5616 GB, free: 6.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.3212, allocations: 87.27 kB / 0.5617 GB, free: 6.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3212, allocations: 0 / 0.5617 GB, free: 6.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.3217, allocations: 12 kB / 0.5617 GB, free: 6.199 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.00102/0.3227, allocations: 0.7248 MB / 0.5624 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3231, allocations: 47.95 kB / 0.5624 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.3231, allocations: 4 kB / 0.5624 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3233, allocations: 24.05 kB / 0.5624 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3237, allocations: 3.953 kB / 0.5624 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.3245, allocations: 154.3 kB / 0.5626 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.325, allocations: 0.6848 MB / 0.5633 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.3251, allocations: 4.062 kB / 0.5633 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.3252, allocations: 11.44 kB / 0.5633 GB, free: 4.457 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3252, allocations: 0 / 0.5633 GB, free: 4.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3525, allocations: 1.314 MB / 0.5646 GB, free: 3.27 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000608/0.3532, allocations: 181 kB / 0.5647 GB, free: 3.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.274, allocations: 0 / 0.5647 GB, free: 3.027 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: