Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001702/0.001702, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.002109/0.002109, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.002611/0.002611, allocations: 277 kB / 309.8 MB, free: 3.508 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.073/1.073, allocations: 180.6 MB / 0.5338 GB, free: 12.36 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.003191/0.003191, allocations: 91.86 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6025, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001757/0.6043, allocations: 0.6333 MB / 0.8284 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000636/0.6049, allocations: 361.8 kB / 0.8288 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.605, allocations: 0 / 0.8288 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.605, allocations: 3.938 kB / 0.8288 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.96e-05/0.605, allocations: 0 / 0.8288 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.6055, allocations: 124.7 kB / 0.8289 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.6056, allocations: 22.64 kB / 0.8289 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.6056, allocations: 2.766 kB / 0.8289 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.6056, allocations: 15.33 kB / 0.8289 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.6057, allocations: 13.89 kB / 0.829 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6057, allocations: 3.688 kB / 0.829 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.6061, allocations: 273.3 kB / 0.8292 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.6061, allocations: 11.92 kB / 0.8292 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6061, allocations: 11.92 kB / 0.8292 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.6063, allocations: 104.1 kB / 0.8293 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6063, allocations: 4 kB / 0.8294 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6063, allocations: 0 / 0.8294 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6063, allocations: 2.625 kB / 0.8294 GB, free: 2.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003656/0.6067, allocations: 360 kB / 0.8297 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6067, allocations: 10.5 kB / 0.8297 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.369e-05/0.6067, allocations: 192 / 0.8297 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.041e-05/0.6067, allocations: 34.12 kB / 0.8297 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.6068, allocations: 8.219 kB / 0.8297 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.6069, allocations: 169.1 kB / 0.8299 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6069, allocations: 14.94 kB / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.6069, allocations: 3.797 kB / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.607, allocations: 54.75 kB / 0.83 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.607, allocations: 3.938 kB / 0.83 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6071, allocations: 2.625 kB / 0.83 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6071, allocations: 3.984 kB / 0.83 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.6071, allocations: 19.23 kB / 0.83 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.6072, allocations: 167.2 kB / 0.8302 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.6073, allocations: 58.86 kB / 0.8302 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.6074, allocations: 27.09 kB / 0.8302 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.608, allocations: 465.8 kB / 0.8307 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.608, allocations: 39.25 kB / 0.8307 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.608, allocations: 0 / 0.8307 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001126/0.6091, allocations: 0.5902 MB / 0.8313 GB, free: 256 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.6092, allocations: 52.16 kB / 0.8314 GB, free: 192 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.6092, allocations: 102 kB / 0.8315 GB, free: 88 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.6092, allocations: 25.7 kB / 0.8315 GB, free: 56 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.6093, allocations: 84.14 kB / 0.8316 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.6093, allocations: 44.84 kB / 0.8316 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.6093, allocations: 28.3 kB / 0.8316 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6095, allocations: 314.1 kB / 0.8319 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.6095, allocations: 29.56 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.6096, allocations: 19.69 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.6097, allocations: 58.58 kB / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6097, allocations: 0 / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.6098, allocations: 105.4 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6098, allocations: 4.5 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6098, allocations: 0.7031 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6099, allocations: 1.156 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.61, allocations: 25.06 kB / 0.8322 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.61, allocations: 0 / 0.8322 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.61, allocations: 7.562 kB / 0.8322 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.61, allocations: 2.938 kB / 0.8322 GB, free: 15.48 MB / 0.5919 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 9.37e-05/0.6101, allocations: 120.7 kB / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.6101, allocations: 1.25 kB / 0.8323 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.6103, allocations: 109.8 kB / 0.8324 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6103, allocations: 2.719 kB / 0.8324 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6103, allocations: 0 / 0.8324 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6103, allocations: 0.5625 kB / 0.8324 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.6107, allocations: 356.6 kB / 0.8327 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6107, allocations: 3.422 kB / 0.8327 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.6109, allocations: 21.98 kB / 0.8328 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6109, allocations: 0 / 0.8328 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.6109, allocations: 3.141 kB / 0.8328 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6109, allocations: 4.453 kB / 0.8328 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6109, allocations: 0 / 0.8328 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.6111, allocations: 216.9 kB / 0.833 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.6112, allocations: 99.72 kB / 0.8331 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6112, allocations: 3.516 kB / 0.8331 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.6113, allocations: 4.734 kB / 0.8331 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.6113, allocations: 5.906 kB / 0.8331 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6113, allocations: 9.312 kB / 0.8331 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.6114, allocations: 78.7 kB / 0.8332 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6114, allocations: 3.938 kB / 0.8332 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003053/0.6117, allocations: 49.98 kB / 0.8332 GB, free: 14.57 MB / 0.5919 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.0007008/0.6124, allocations: 0.788 MB / 0.834 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.6125, allocations: 62.62 kB / 0.834 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6125, allocations: 0 / 0.834 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.6126, allocations: 32.42 kB / 0.8341 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.6128, allocations: 5.812 kB / 0.8341 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.6142, allocations: 1.402 MB / 0.8355 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.6145, allocations: 0.6922 MB / 0.8361 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.6146, allocations: 9.5 kB / 0.8361 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.6146, allocations: 16 kB / 0.8362 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6146, allocations: 0 / 0.8362 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.6361, allocations: 2.561 MB / 0.8387 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.815, allocations: 21.06 kB / 0.8387 GB, free: 11.46 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.998908407986164] Failed to read output from testmodel.py, exit status != 0: 8.940149668022059 8.962213985 8.351776702 Calling exit ...