Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001072/0.001072, allocations: 99.05 kB / 16.27 MB, free: 5.93 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.001113/0.001113, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.75/0.75, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3184, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001539/0.32, allocations: 0.5766 MB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.3205, allocations: 323.2 kB / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.262e-05/0.3205, allocations: 0 / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.3205, allocations: 0.9062 kB / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.068e-06/0.3205, allocations: 0 / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.3209, allocations: 117.1 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.476e-05/0.321, allocations: 2.625 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.321, allocations: 1.672 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.321, allocations: 2.656 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.737e-05/0.3211, allocations: 1.125 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.3211, allocations: 0 / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.3215, allocations: 273.5 kB / 0.5685 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.3215, allocations: 8.766 kB / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.3215, allocations: 5.344 kB / 0.5686 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3217, allocations: 85.05 kB / 0.5686 GB, free: 31.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3217, allocations: 1.219 kB / 0.5686 GB, free: 31.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3217, allocations: 0 / 0.5686 GB, free: 31.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3217, allocations: 0 / 0.5686 GB, free: 31.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002161/0.3219, allocations: 337.4 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.322, allocations: 9.656 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.327e-05/0.322, allocations: 31.75 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.322, allocations: 2.812 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.426e-05/0.3221, allocations: 162.9 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3221, allocations: 384 / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-06/0.3221, allocations: 2 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.872e-05/0.3222, allocations: 33.55 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-06/0.3222, allocations: 5 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.3222, allocations: 0.5 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3222, allocations: 0.7812 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.48e-05/0.3222, allocations: 2.156 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.678e-05/0.3223, allocations: 149.8 kB / 0.5693 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.418e-05/0.3223, allocations: 17.61 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.3224, allocations: 8.078 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.3227, allocations: 430.3 kB / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3227, allocations: 37.47 kB / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3227, allocations: 0 / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.3229, allocations: 37.97 kB / 0.5699 GB, free: 30.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.3229, allocations: 52.84 kB / 0.5699 GB, free: 30.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.255e-05/0.3229, allocations: 89.86 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.3229, allocations: 30.33 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-06/0.3229, allocations: 81.81 kB / 0.5701 GB, free: 30.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.323, allocations: 5.406 kB / 0.5701 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.323, allocations: 12.12 kB / 0.5701 GB, free: 30.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.323, allocations: 313.7 kB / 0.5704 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.323, allocations: 1.281 kB / 0.5704 GB, free: 29.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.323, allocations: 1.125 kB / 0.5704 GB, free: 29.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.3231, allocations: 14.27 kB / 0.5704 GB, free: 29.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3231, allocations: 1 kB / 0.5704 GB, free: 29.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.211e-05/0.3231, allocations: 35.59 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.3232, allocations: 6.406 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3232, allocations: 5.922 kB / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3232, allocations: 0 / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.3232, allocations: 7.156 kB / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.3232, allocations: 0 / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.3232, allocations: 5.5 kB / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.3232, allocations: 3.938 kB / 0.5705 GB, free: 29.84 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 (1): * Single equations (assignments): 1 * 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 3.301e-05/0.3233, allocations: 108.7 kB / 0.5706 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.3233, allocations: 2.203 kB / 0.5706 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.3234, allocations: 48.98 kB / 0.5706 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3234, allocations: 1.406 kB / 0.5706 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3234, allocations: 0 / 0.5706 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3234, allocations: 0 / 0.5706 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.337e-05/0.3235, allocations: 145.4 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3235, allocations: 0.7812 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.3235, allocations: 4.141 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3235, allocations: 0.9375 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.3235, allocations: 3.938 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3235, allocations: 1.375 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3235, allocations: 6 kB / 0.5708 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.3236, allocations: 60.91 kB / 0.5709 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3236, allocations: 81.95 kB / 0.5709 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.3236, allocations: 9.078 kB / 0.5709 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.3236, allocations: 0 / 0.5709 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.3236, allocations: 2.125 kB / 0.5709 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3236, allocations: 0 / 0.5709 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.428e-06/0.3236, allocations: 76.41 kB / 0.571 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3237, allocations: 1.062 kB / 0.571 GB, free: 29.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.3238, allocations: 10.34 kB / 0.571 GB, free: 29.25 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 (1): * Single equations (assignments): 1 * 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.0002418/0.3241, allocations: 0.6115 MB / 0.5716 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.3242, allocations: 9.344 kB / 0.5716 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3242, allocations: 1.062 kB / 0.5716 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.3242, allocations: 3 kB / 0.5716 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.3243, allocations: 11.95 kB / 0.5717 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.3245, allocations: 104.7 kB / 0.5718 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.3246, allocations: 0.671 MB / 0.5724 GB, free: 27.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.3246, allocations: 3.156 kB / 0.5724 GB, free: 27.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.3246, allocations: 7.438 kB / 0.5724 GB, free: 27.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3246, allocations: 1.312 kB / 0.5724 GB, free: 27.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.3405, allocations: 1.156 MB / 0.5735 GB, free: 27.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.405, allocations: 4.828 kB / 0.5736 GB, free: 27.5 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)