Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00152/0.00152, allocations: 216 kB / 22.26 MB, free: 5.117 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.046/3.046, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00208/0.00208, allocations: 67.06 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002067/0.3428, allocations: 0.6304 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.3437, allocations: 354.8 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.3437, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.3437, allocations: 4 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.3437, allocations: 3.938 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.3443, allocations: 127.5 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.3443, allocations: 23.92 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.3444, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.3444, allocations: 15.97 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.3445, allocations: 11.94 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3445, allocations: 4 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.345, allocations: 283.6 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.345, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.345, allocations: 23.84 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3452, allocations: 99.94 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3452, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3452, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3452, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 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.0004632/0.3457, allocations: 290 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3457, allocations: 8.031 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.3458, allocations: 42.75 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3458, allocations: 0.9375 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3459, allocations: 106.5 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.346, allocations: 384 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.346, allocations: 12.33 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3461, allocations: 54.22 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3461, allocations: 3.938 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3461, allocations: 3.938 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3462, allocations: 7.938 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.3462, allocations: 15.98 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.3464, allocations: 136.8 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3465, allocations: 54.56 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.3466, allocations: 32.84 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.3471, allocations: 75.92 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3472, allocations: 38.5 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3472, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001355/0.3485, allocations: 459.7 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3486, allocations: 55.41 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.3486, allocations: 101.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3487, allocations: 25.8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.3487, allocations: 88.08 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.3488, allocations: 35.69 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3488, allocations: 25.72 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.349, allocations: 322.8 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.3491, allocations: 23.98 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.3491, allocations: 16 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.3492, allocations: 60.78 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3492, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001892/0.3494, allocations: 101.7 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3494, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3494, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3495, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3496, allocations: 35.97 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.3496, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3496, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 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.0001131/0.3497, allocations: 113.8 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.3498, allocations: 11.89 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.35, allocations: 109.7 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.35, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.35, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.35, allocations: 4 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3505, allocations: 329.5 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3505, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3506, allocations: 23.98 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3506, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3506, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3506, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3506, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.351, allocations: 227.3 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.351, allocations: 12.02 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.351, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.3511, allocations: 11.92 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.3511, allocations: 3.984 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3511, allocations: 8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.3512, allocations: 79.28 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003024/0.3515, allocations: 43.88 kB / 1.288 GB, free: 6.621 MB / 0.9825 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.0007805/0.3523, allocations: 0.7982 MB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3524, allocations: 58.02 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3524, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.3525, allocations: 31.92 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.3527, allocations: 16.69 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3543, allocations: 1.402 MB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3546, allocations: 0.6885 MB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.3547, allocations: 8 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.3547, allocations: 15.44 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3547, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3847, allocations: 2.632 MB / 1.294 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.42, allocations: 8.688 kB / 1.294 GB, free: 0.9844 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.35511614801362] Failed to read output from testmodel.py, exit status != 0: 12.045240703038871 11.546773073 11.198397444 Calling exit ...