Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001348/0.001348, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00172/0.00172, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.441/3.441, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002126/0.002126, allocations: 68.47 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4459, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002064/0.448, allocations: 0.6225 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.4487, allocations: 323.2 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.4488, allocations: 0 / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.4488, allocations: 0 / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.4488, allocations: 3.938 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.4493, allocations: 123.7 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.4494, allocations: 19.92 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.4494, allocations: 4 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.4495, allocations: 15.94 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.4495, allocations: 11.97 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.4496, allocations: 4 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.45, allocations: 267.6 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.45, allocations: 4 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.45, allocations: 7.938 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.4502, allocations: 107.9 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4502, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4502, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.4502, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004619/0.4507, allocations: 282.1 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4507, allocations: 16.03 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.4508, allocations: 34.75 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.4508, allocations: 12.88 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.451, allocations: 102.5 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.451, allocations: 4.375 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.451, allocations: 4.375 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4512, allocations: 101.6 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4512, allocations: 3.938 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4512, allocations: 8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4512, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.787e-05/0.4513, allocations: 19.98 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.4515, allocations: 140.7 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4516, allocations: 54.56 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.4516, allocations: 36.77 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.4522, allocations: 75.92 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.4522, allocations: 38.55 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4522, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001347/0.4536, allocations: 459.4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.4536, allocations: 59.41 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.4537, allocations: 93.86 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4537, allocations: 29.7 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.4538, allocations: 84.14 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.4538, allocations: 39.64 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.4539, allocations: 29.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.454, allocations: 314.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.4541, allocations: 23.98 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.4541, allocations: 16 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4542, allocations: 70.59 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4542, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001627/0.4544, allocations: 101.6 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4544, allocations: 4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4544, allocations: 4.094 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4544, allocations: 3.938 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4545, allocations: 23.98 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4545, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.4546, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4546, allocations: 8 kB / 1.367 GB, free: 10.04 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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 0.0001027/0.4547, allocations: 118.9 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.4547, allocations: 11.92 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.4549, allocations: 93.73 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4549, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4549, allocations: 4 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4549, allocations: 7.938 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.4554, allocations: 325.5 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4554, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4555, allocations: 23.98 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4555, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4555, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4555, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4555, allocations: 4 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4558, allocations: 221.7 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.4558, allocations: 11.98 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4558, allocations: 12.05 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.4559, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.4559, allocations: 11.98 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4559, allocations: 8 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.456, allocations: 75.47 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.456, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002763/0.4562, allocations: 51.86 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007395/0.457, allocations: 0.7866 MB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.4571, allocations: 59.91 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4571, allocations: 4.062 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.4572, allocations: 31.92 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4574, allocations: 14.08 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4588, allocations: 1.4 MB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.4589, allocations: 71.33 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.668e-05/0.4589, allocations: 16.31 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.459, allocations: 15.44 kB / 1.37 GB, free: 6.477 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.459, allocations: 0 / 1.37 GB, free: 6.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.4905, allocations: 2.981 MB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.84, allocations: 2.5 kB / 1.373 GB, free: 3.645 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.169592808000743] Failed to read output from testmodel.py, exit status != 0: 11.95444777328521 11.971286905 11.517799167 Calling exit ...