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.0007306/0.0007306, allocations: 76.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.001112/0.001112, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8796/0.8796, 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.001544/0.001544, allocations: 241.5 kB / 259.4 MB, free: 13.02 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.6654/0.6654, allocations: 138.4 MB / 454.3 MB, free: 29.91 MB / 410.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.764e-06/1.764e-06, allocations: 0 / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.024e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001192/0.001212, allocations: 0.5812 MB / 0.6469 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004846/0.001697, allocations: 299.6 kB / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.001714, allocations: 0 / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.001728, allocations: 0 / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.001735, allocations: 0 / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.002102, allocations: 115.2 kB / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.002143, allocations: 0 / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.002183, allocations: 4 kB / 0.6473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.002207, allocations: 0 / 0.6473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.997e-05/0.002227, allocations: 4 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.002238, allocations: 0 / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.002506, allocations: 259.6 kB / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.002518, allocations: 0 / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.002537, allocations: 0 / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.002683, allocations: 119.6 kB / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002686, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002687, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002691, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 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.0002241/0.002915, allocations: 266.2 kB / 0.6479 GB, free: 128 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.002953, allocations: 13.88 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.002979, allocations: 34.75 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.003019, allocations: 8.922 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2379/0.241, allocations: 101.8 kB / 0.6481 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.241, allocations: 1.406 kB / 0.6481 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.241, allocations: 1.594 kB / 0.6481 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2411, allocations: 28.45 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.2411, allocations: 192 / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2411, allocations: 384 / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2411, allocations: 1.125 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.2411, allocations: 1.719 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.2412, allocations: 124 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.2413, allocations: 18.33 kB / 0.6483 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.2413, allocations: 7.781 kB / 0.6483 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.2416, allocations: 44.45 kB / 0.6483 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.2416, allocations: 33.94 kB / 0.6483 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.2416, allocations: 0 / 0.6483 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.2418, allocations: 36.78 kB / 0.6484 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.2418, allocations: 52.69 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.204e-05/0.2418, allocations: 91.25 kB / 0.6485 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.2418, allocations: 26.39 kB / 0.6485 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-06/0.2419, allocations: 81.83 kB / 0.6486 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2419, allocations: 3.531 kB / 0.6486 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.2419, allocations: 13.27 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.986e-05/0.2419, allocations: 317.5 kB / 0.6489 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.2419, allocations: 2.547 kB / 0.6489 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.2419, allocations: 1.906 kB / 0.6489 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.242, allocations: 8.969 kB / 0.6489 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.242, allocations: 1.344 kB / 0.649 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.471e-05/0.242, allocations: 40.59 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.242, allocations: 4.688 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.242, allocations: 0 / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2421, allocations: 0.7188 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.2421, allocations: 1.781 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2421, allocations: 2.641 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-06/0.2421, allocations: 1.219 kB / 0.649 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2421, allocations: 1.281 kB / 0.649 GB, free: 56.05 MB / 0.5573 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 3.804e-05/0.2422, allocations: 113.5 kB / 0.6491 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.2422, allocations: 2.266 kB / 0.6491 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.2423, allocations: 44.52 kB / 0.6492 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2423, allocations: 0.7812 kB / 0.6492 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2423, allocations: 3.094 kB / 0.6492 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2423, allocations: 0.8125 kB / 0.6492 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.593e-05/0.2423, allocations: 123.1 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2423, allocations: 0.7969 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.2423, allocations: 1.719 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2423, allocations: 0.7188 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2423, allocations: 2.188 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2423, allocations: 1.688 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2423, allocations: 1.781 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.677e-05/0.2424, allocations: 65.42 kB / 0.6493 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.2424, allocations: 1.984 kB / 0.6493 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2424, allocations: 2.672 kB / 0.6494 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.2424, allocations: 3.844 kB / 0.6494 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.2424, allocations: 0.625 kB / 0.6494 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2424, allocations: 8.422 kB / 0.6494 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.086e-05/0.2424, allocations: 78.53 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2424, allocations: 0.6875 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001402/0.2426, allocations: 13.27 kB / 0.6495 GB, free: 55.61 MB / 0.5573 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.0002581/0.2428, allocations: 0.6036 MB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.2429, allocations: 10.08 kB / 0.6501 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2429, allocations: 0 / 0.6501 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.2429, allocations: 5.812 kB / 0.6501 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.243, allocations: 2.953 kB / 0.6501 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.2433, allocations: 112.1 kB / 0.6502 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.598e-05/0.2433, allocations: 55.67 kB / 0.6502 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.2433, allocations: 2.438 kB / 0.6502 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.2433, allocations: 11.72 kB / 0.6502 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of SimCode: time 1.031e-06/0.2433, allocations: 0.875 kB / 0.6502 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.2569, allocations: 1.836 MB / 0.652 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.354/6.611, allocations: 11.22 kB / 0.652 GB, free: 54.06 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.124729973264039] Failed to read output from testmodel.py, exit status != 0: 6.688704556785524 6.698340241 6.693836243 Calling exit ...