Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001889/0.001889, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002279/0.002279, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.623/1.623, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",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.002025/0.002025, allocations: 67.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.23, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001638/1.231, allocations: 0.6285 MB / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006107/1.232, allocations: 357.2 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/1.232, allocations: 0 / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/1.232, allocations: 0 / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.917e-05/1.232, allocations: 10.62 kB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/1.232, allocations: 118.6 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/1.232, allocations: 22.19 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/1.233, allocations: 6.141 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/1.233, allocations: 9.438 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/1.233, allocations: 13.86 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/1.233, allocations: 3.156 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/1.233, allocations: 274 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/1.233, allocations: 15.03 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/1.233, allocations: 17 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/1.233, allocations: 109.3 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.233, allocations: 0 / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.485e-06/1.233, allocations: 3.281 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.233, allocations: 0 / 1.323 GB, free: 23.94 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.0004044/1.234, allocations: 359.5 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.234, allocations: 14.64 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.681e-05/1.234, allocations: 4.188 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/1.234, allocations: 33.41 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/1.234, allocations: 3.438 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/1.234, allocations: 171.7 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.234, allocations: 7.156 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.234, allocations: 3 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/1.234, allocations: 55 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.234, allocations: 0 / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.234, allocations: 6.844 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.234, allocations: 0 / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/1.234, allocations: 21.69 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/1.234, allocations: 160.9 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/1.234, allocations: 52.27 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/1.234, allocations: 29.47 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/1.235, allocations: 471.5 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/1.235, allocations: 38.44 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/1.235, allocations: 0 / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001161/1.236, allocations: 0.5887 MB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/1.236, allocations: 53.88 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/1.236, allocations: 100.4 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/1.236, allocations: 28.27 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/1.236, allocations: 84.14 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.236, allocations: 35.92 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/1.236, allocations: 32.5 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/1.236, allocations: 316.4 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/1.236, allocations: 21.86 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/1.236, allocations: 20.69 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/1.236, allocations: 60.23 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/1.236, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001376/1.237, allocations: 107.6 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.237, allocations: 5.938 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.237, allocations: 3.938 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.237, allocations: 4 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.237, allocations: 21.69 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.237, allocations: 4 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/1.237, allocations: 2.906 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.237, allocations: 3.094 kB / 1.326 GB, free: 21.19 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 5.369e-05/1.237, allocations: 122.5 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.237, allocations: 10.95 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/1.237, allocations: 98.88 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.237, allocations: 3.094 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.237, allocations: 7.375 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.237, allocations: 3.938 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/1.237, allocations: 354.4 kB / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.237, allocations: 0 / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.237, allocations: 18.41 kB / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.237, allocations: 3.469 kB / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.237, allocations: 0 / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.237, allocations: 3.281 kB / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/1.237, allocations: 0 / 1.326 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/1.238, allocations: 228.4 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.238, allocations: 91.2 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.238, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/1.238, allocations: 2.688 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/1.238, allocations: 10.2 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.238, allocations: 2.906 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.909e-05/1.238, allocations: 78 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.238, allocations: 0 / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002754/1.238, allocations: 53.92 kB / 1.327 GB, free: 20.28 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.0004997/1.239, allocations: 0.7912 MB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001433/1.239, allocations: 55.73 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.239, allocations: 3.938 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/1.239, allocations: 32.25 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/1.239, allocations: 12.5 kB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.24, allocations: 1.41 MB / 1.329 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/1.24, allocations: 0.6836 MB / 1.33 GB, free: 17.58 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.058e-05/1.24, allocations: 13.36 kB / 1.33 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/1.24, allocations: 16.28 kB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.24, allocations: 4.875 kB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/1.262, allocations: 2.544 MB / 1.332 GB, free: 17.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/9.702, allocations: 19.8 kB / 1.332 GB, free: 17.14 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.881614967016503] Failed to read output from testmodel.py, exit status != 0: 9.829774931946304 9.849163278 8.613270863 Calling exit ...