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.0008134/0.0008134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008211/0.0008211, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8844/0.8844, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.378e-05, allocations: 9.312 kB / 0.9506 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001308/0.001332, allocations: 0.6121 MB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004694/0.001802, allocations: 318.8 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.001823, allocations: 4 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.001837, allocations: 0 / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.001865, allocations: 7.875 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.00223, allocations: 121.5 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.002289, allocations: 19.97 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.002325, allocations: 4 kB / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.002377, allocations: 19.92 kB / 0.9516 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.002425, allocations: 15.97 kB / 0.9517 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.00244, allocations: 0 / 0.9517 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.002688, allocations: 259.6 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002701, allocations: 4 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.002722, allocations: 15.91 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.002889, allocations: 127.7 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002891, allocations: 0 / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002892, allocations: 3.938 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.002898, allocations: 4 kB / 0.952 GB, free: 1.871 MB / 0.9011 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.0003235/0.003221, allocations: 282.1 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.00326, allocations: 12.03 kB / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.003286, allocations: 34.75 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.003331, allocations: 8.891 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.0034, allocations: 113.7 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.00341, allocations: 4.375 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.003427, allocations: 384 / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.00354, allocations: 109.6 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.003549, allocations: 192 / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003558, allocations: 4.375 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.003563, allocations: 4.125 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.003604, allocations: 15.98 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.003737, allocations: 144.7 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.003823, allocations: 66.56 kB / 0.9528 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.003854, allocations: 24.84 kB / 0.9528 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.004173, allocations: 71.92 kB / 0.9529 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.004194, allocations: 38.56 kB / 0.9529 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004195, allocations: 0 / 0.9529 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0008118/0.005007, allocations: 451.4 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.005032, allocations: 55.41 kB / 0.9534 GB, free: 252 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.005076, allocations: 101.8 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005088, allocations: 29.7 kB / 0.9535 GB, free: 104 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.005111, allocations: 80.14 kB / 0.9536 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.005151, allocations: 43.64 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.005185, allocations: 29.72 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.005267, allocations: 322.8 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.005296, allocations: 16 kB / 0.954 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.005325, allocations: 23.98 kB / 0.954 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.005391, allocations: 54.92 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005392, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001049/0.005496, allocations: 97.67 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005509, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.005513, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005525, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.005598, allocations: 27.92 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005602, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.005616, allocations: 4 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.005623, allocations: 4 kB / 0.9542 GB, free: 15.38 MB / 0.9167 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.435e-05/0.005678, allocations: 113.8 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.005692, allocations: 3.953 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.005831, allocations: 117.7 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005832, allocations: 96 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.005836, allocations: 3.938 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.00584, allocations: 8 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.006111, allocations: 317.5 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006113, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.006179, allocations: 20 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00618, allocations: 0 / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.006189, allocations: 7.984 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00619, allocations: 0 / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006191, allocations: 7.938 kB / 0.9548 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.006362, allocations: 215.4 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.006383, allocations: 15.97 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.006394, allocations: 4 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.006439, allocations: 4.062 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.006455, allocations: 11.98 kB / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.006461, allocations: 7.938 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.006483, allocations: 79.27 kB / 0.9551 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006483, allocations: 0 / 0.9551 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000187/0.00667, allocations: 47.88 kB / 0.9552 GB, free: 14.32 MB / 0.9167 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.0004587/0.007129, allocations: 0.7943 MB / 0.9559 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007233, allocations: 59.86 kB / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.007235, allocations: 0 / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.007264, allocations: 32.05 kB / 0.956 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.007416, allocations: 4 kB / 0.956 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.008271, allocations: 1.403 MB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.008312, allocations: 71.25 kB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.008349, allocations: 12.28 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.008381, allocations: 24.56 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008382, allocations: 3.938 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.02357, allocations: 3.136 MB / 0.9606 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.9, allocations: 5 kB / 0.9606 GB, free: 8.836 MB / 0.9167 GB " [Timeout remaining time 293] (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: 10.76831735111773] Failed to read output from testmodel.py, exit status != 0: 6.981402258388698 6.989333199 6.984753901 Calling exit ...