Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002338/0.002338, allocations: 289.3 kB / 309.8 MB, free: 3.461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.066/1.066, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003205, allocations: 112.3 kB / 0.7347 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6136, allocations: 95.35 MB / 0.8278 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001737/0.6154, allocations: 0.5815 MB / 0.8284 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005803/0.616, allocations: 325.8 kB / 0.8287 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.616, allocations: 0 / 0.8287 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.616, allocations: 7.938 kB / 0.8287 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.616, allocations: 0 / 0.8287 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.6164, allocations: 112.3 kB / 0.8288 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.6165, allocations: 1.25 kB / 0.8288 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.6165, allocations: 9.953 kB / 0.8288 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.6165, allocations: 4.734 kB / 0.8288 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.6165, allocations: 5.375 kB / 0.8288 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.6166, allocations: 0 / 0.8288 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.6169, allocations: 276.2 kB / 0.8291 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.6169, allocations: 6.25 kB / 0.8291 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.617, allocations: 0 / 0.8291 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.6171, allocations: 82.98 kB / 0.8292 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6171, allocations: 2.625 kB / 0.8292 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6171, allocations: 0 / 0.8292 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6171, allocations: 0 / 0.8292 GB, free: 2.297 MB / 0.5762 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.0002384/0.6174, allocations: 341.7 kB / 0.8295 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6174, allocations: 9.094 kB / 0.8295 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.197e-05/0.6174, allocations: 4.844 kB / 0.8295 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.439e-05/0.6174, allocations: 30.75 kB / 0.8296 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.6175, allocations: 0.9375 kB / 0.8296 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.722e-05/0.6175, allocations: 165.8 kB / 0.8297 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.6175, allocations: 4.312 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.6176, allocations: 3.125 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/0.6177, allocations: 31.28 kB / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6177, allocations: 0 / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.6177, allocations: 2.625 kB / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6177, allocations: 4 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.6177, allocations: 0.5625 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.205e-05/0.6178, allocations: 148.9 kB / 0.8299 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.6178, allocations: 21.14 kB / 0.8299 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.6178, allocations: 5.375 kB / 0.8299 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.6182, allocations: 430 kB / 0.8303 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.6182, allocations: 37.12 kB / 0.8304 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.6182, allocations: 0 / 0.8304 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.6183, allocations: 36.59 kB / 0.8304 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.6184, allocations: 51.97 kB / 0.8305 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.54e-05/0.6184, allocations: 89.86 kB / 0.8305 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.6184, allocations: 25.7 kB / 0.8306 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-06/0.6184, allocations: 88.2 kB / 0.8307 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.6184, allocations: 7.219 kB / 0.8307 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.6184, allocations: 10.42 kB / 0.8307 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.975e-05/0.6185, allocations: 314.1 kB / 0.831 GB, free: 252 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.6185, allocations: 0 / 0.831 GB, free: 252 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.6185, allocations: 0 / 0.831 GB, free: 252 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.6185, allocations: 12.23 kB / 0.831 GB, free: 240 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6185, allocations: 2.688 kB / 0.831 GB, free: 240 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.198e-05/0.6186, allocations: 40.06 kB / 0.831 GB, free: 200 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6186, allocations: 12.81 kB / 0.831 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.6186, allocations: 0 / 0.831 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6186, allocations: 0 / 0.831 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.683e-05/0.6186, allocations: 7.266 kB / 0.831 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6186, allocations: 3.984 kB / 0.831 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.6187, allocations: 0.7969 kB / 0.831 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.6187, allocations: 0 / 0.831 GB, free: 188 kB / 0.5762 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 4.029e-05/0.6187, allocations: 115.6 kB / 0.8312 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.6187, allocations: 10.5 kB / 0.8312 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.6188, allocations: 40.66 kB / 0.8312 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.6188, allocations: 0 / 0.8312 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6188, allocations: 0 / 0.8312 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6188, allocations: 0 / 0.8312 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.6189, allocations: 143.9 kB / 0.8313 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6189, allocations: 2.625 kB / 0.8313 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.6189, allocations: 1.594 kB / 0.8313 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6189, allocations: 11.97 kB / 0.8314 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.6189, allocations: 2.625 kB / 0.8314 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.6189, allocations: 0 / 0.8314 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.619, allocations: 3.938 kB / 0.8314 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.136e-05/0.619, allocations: 56.59 kB / 0.8314 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.6191, allocations: 80.34 kB / 0.8315 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.6191, allocations: 3.938 kB / 0.8315 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.6191, allocations: 0.6562 kB / 0.8315 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-06/0.6191, allocations: 4.031 kB / 0.8315 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.6191, allocations: 3.328 kB / 0.8315 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.6192, allocations: 75.28 kB / 0.8316 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6192, allocations: 0 / 0.8316 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001817/0.6193, allocations: 9.25 kB / 0.8316 GB, free: 15.58 MB / 0.5919 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.000469/0.6198, allocations: 0.6185 MB / 0.8322 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.6199, allocations: 7.328 kB / 0.8322 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.6199, allocations: 0 / 0.8322 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.6199, allocations: 4.594 kB / 0.8322 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.62, allocations: 1.5 kB / 0.8322 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.6202, allocations: 103.8 kB / 0.8323 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.6206, allocations: 0.6703 MB / 0.833 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.6206, allocations: 6.625 kB / 0.833 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.6207, allocations: 11.94 kB / 0.833 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6207, allocations: 3.938 kB / 0.833 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.6388, allocations: 1.252 MB / 0.8342 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.768, allocations: 11.47 kB / 0.8342 GB, free: 13.77 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.887911524972878] Failed to read output from testmodel.py, exit status != 0: 8.89394653000636 8.913909632 8.293956517 Calling exit ...