Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0007656/0.0007656, 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.0007537/0.0007537, 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.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001489/0.001489, allocations: 246.5 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6168/0.6168, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 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.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6464 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.848e-06/1.15e-05, allocations: 7.938 kB / 0.6464 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008762/0.0008877, allocations: 0.5795 MB / 0.6469 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.001299, allocations: 300.4 kB / 0.6472 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.001317, allocations: 0 / 0.6472 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.001332, allocations: 3.938 kB / 0.6472 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-06/0.001337, allocations: 5.188 kB / 0.6472 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.001666, allocations: 106.6 kB / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.372e-05/0.00171, allocations: 1.094 kB / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.001747, allocations: 5.188 kB / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.001769, allocations: 0 / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.001787, allocations: 5.156 kB / 0.6473 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.001798, allocations: 0 / 0.6473 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.002046, allocations: 259.1 kB / 0.6476 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.002058, allocations: 0 / 0.6476 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.002071, allocations: 1.031 kB / 0.6476 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.002204, allocations: 114.2 kB / 0.6477 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002206, allocations: 1.344 kB / 0.6477 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002207, allocations: 0 / 0.6477 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002211, allocations: 0 / 0.6477 GB, free: 28.07 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001859/0.002397, allocations: 255.3 kB / 0.6479 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.002436, allocations: 10.75 kB / 0.6479 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.161e-05/0.002457, allocations: 34.75 kB / 0.648 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.002497, allocations: 6.25 kB / 0.648 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.689e-05/0.002534, allocations: 107 kB / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.002543, allocations: 384 / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.002549, allocations: 1.438 kB / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.002625, allocations: 31.45 kB / 0.6481 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002632, allocations: 1.594 kB / 0.6481 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.002639, allocations: 4.312 kB / 0.6481 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.002643, allocations: 4.125 kB / 0.6481 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.002661, allocations: 5.266 kB / 0.6481 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.502e-05/0.002736, allocations: 119.3 kB / 0.6482 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.993e-05/0.002766, allocations: 21.05 kB / 0.6483 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.018e-05/0.002776, allocations: 6.172 kB / 0.6483 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.00304, allocations: 46.44 kB / 0.6483 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.003053, allocations: 35.62 kB / 0.6484 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.003054, allocations: 0 / 0.6484 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.003163, allocations: 35.05 kB / 0.6484 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.003178, allocations: 56.75 kB / 0.6484 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-06/0.003187, allocations: 89.86 kB / 0.6485 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-06/0.003191, allocations: 25.7 kB / 0.6486 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-06/0.003198, allocations: 85.55 kB / 0.6486 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.003219, allocations: 0 / 0.6486 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.003238, allocations: 16.56 kB / 0.6486 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.628e-05/0.003264, allocations: 314.8 kB / 0.6489 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.003271, allocations: 1.219 kB / 0.6489 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.003276, allocations: 1.531 kB / 0.649 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.003295, allocations: 15.86 kB / 0.649 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003296, allocations: 0 / 0.649 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.952e-05/0.003326, allocations: 35.2 kB / 0.649 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.003337, allocations: 6.812 kB / 0.649 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.00334, allocations: 1.562 kB / 0.649 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00335, allocations: 0 / 0.649 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.044e-05/0.003381, allocations: 1.156 kB / 0.649 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.003386, allocations: 9.172 kB / 0.649 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.141e-06/0.003393, allocations: 0 / 0.649 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.003397, allocations: 5.594 kB / 0.649 GB, free: 26.61 MB / 0.5105 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 (1): * Single equations (assignments): 1 * 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 2.685e-05/0.003424, allocations: 111.7 kB / 0.6491 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.003431, allocations: 0 / 0.6491 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.003481, allocations: 42.08 kB / 0.6492 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.003483, allocations: 1.156 kB / 0.6492 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.003487, allocations: 7.922 kB / 0.6492 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003489, allocations: 4 kB / 0.6492 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.919e-05/0.003519, allocations: 114.2 kB / 0.6493 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003519, allocations: 1.625 kB / 0.6493 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.003526, allocations: 5.188 kB / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.003528, allocations: 0 / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.003533, allocations: 1.438 kB / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003534, allocations: 0 / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.003534, allocations: 3.938 kB / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.749e-05/0.003572, allocations: 64.66 kB / 0.6494 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.003576, allocations: 9.328 kB / 0.6494 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.003583, allocations: 0 / 0.6494 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-06/0.003587, allocations: 1.469 kB / 0.6494 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.003597, allocations: 7.922 kB / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.003598, allocations: 1.219 kB / 0.6494 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.033e-06/0.003605, allocations: 79.31 kB / 0.6495 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.003605, allocations: 0 / 0.6495 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001231/0.003728, allocations: 18.02 kB / 0.6495 GB, free: 26.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001692/0.003898, allocations: 0.6037 MB / 0.6501 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.297e-05/0.00396, allocations: 8 kB / 0.6501 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.003962, allocations: 0 / 0.6501 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.003966, allocations: 2.219 kB / 0.6501 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.233e-05/0.004059, allocations: 8.031 kB / 0.6501 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.004267, allocations: 117.8 kB / 0.6502 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.094e-05/0.004288, allocations: 53.77 kB / 0.6502 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.004299, allocations: 1.125 kB / 0.6502 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.095e-05/0.00431, allocations: 9.719 kB / 0.6503 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.00431, allocations: 0 / 0.6503 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.01727, allocations: 1.836 MB / 0.652 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/6.505, allocations: 6.562 kB / 0.6521 GB, free: 24.05 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.235845749266446] Failed to read output from testmodel.py, exit status != 0: 6.581167045980692 6.588910766 6.585473374 Calling exit ...