Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_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.001187/0.001188, allocations: 108 kB / 15.6 MB, free: 132 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.001362/0.001362, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.69 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002467/0.2641, allocations: 0.5901 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.2648, allocations: 322.8 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.495e-05/0.2648, allocations: 3.938 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.2649, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-06/0.2649, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.2654, allocations: 103.6 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.607e-05/0.2654, allocations: 8 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.2655, allocations: 0 / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.2655, allocations: 4 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.2655, allocations: 0 / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2655, allocations: 0 / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.266, allocations: 279.6 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.266, allocations: 0 / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.266, allocations: 3.938 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2662, allocations: 83.84 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2662, allocations: 4 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2662, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2662, allocations: 4 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB 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.0003501/0.2666, allocations: 335.6 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2667, allocations: 8.031 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2667, allocations: 30.75 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.2667, allocations: 0.9375 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.2668, allocations: 160.4 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2669, allocations: 384 / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.2669, allocations: 4.375 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.267, allocations: 30.2 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.267, allocations: 3.938 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.267, allocations: 11.98 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.267, allocations: 3.984 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.2671, allocations: 4 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.2672, allocations: 141.7 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.2672, allocations: 18.61 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.2673, allocations: 4.859 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/0.2678, allocations: 429.6 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2679, allocations: 34.5 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/0.2679, allocations: 0 / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.2681, allocations: 45.56 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2681, allocations: 55.41 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.768e-05/0.2681, allocations: 89.86 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2682, allocations: 29.83 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.2682, allocations: 80.14 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.2682, allocations: 4.188 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.2683, allocations: 9.719 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2684, allocations: 314.8 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.2684, allocations: 7.938 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.2684, allocations: 3.938 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.2684, allocations: 16.91 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2685, allocations: 0 / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.896e-05/0.2685, allocations: 29.7 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2686, allocations: 8 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2686, allocations: 3.938 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2686, allocations: 0 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.2686, allocations: 0 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.2687, allocations: 0 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.2687, allocations: 4 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2687, allocations: 4 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB 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 6.61e-05/0.2688, allocations: 117.8 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2688, allocations: 4 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.2689, allocations: 40.7 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2689, allocations: 4 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2689, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2689, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.269, allocations: 145.7 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.269, allocations: 0 / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.2691, allocations: 8.031 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2691, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2691, allocations: 3.938 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2691, allocations: 0 / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2691, allocations: 0 / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.985e-05/0.2692, allocations: 65.06 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.2692, allocations: 77.11 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2693, allocations: 3.938 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.2693, allocations: 7.969 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.2693, allocations: 0 / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2693, allocations: 4 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.2693, allocations: 75.28 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2693, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000216/0.2696, allocations: 8 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB 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.0004248/0.27, allocations: 0.6163 MB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.512e-05/0.2701, allocations: 7.938 kB / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2701, allocations: 0 / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.2701, allocations: 4 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2702, allocations: 2.656 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.2705, allocations: 118.7 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2708, allocations: 0.6768 MB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2708, allocations: 4 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.2708, allocations: 7.438 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.2708, allocations: 0 / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2889, allocations: 1.161 MB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.269, allocations: 7.812 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)