Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0008001/0.0008001, 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.0009002/0.0009002, 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.8689/0.8689, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001354/0.001354, allocations: 240 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.6549/0.6549, allocations: 138.4 MB / 454.3 MB, free: 30.01 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.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.418e-05, allocations: 12.83 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001704/0.001718, allocations: 1.461 MB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.002184, allocations: 363.6 kB / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.002213, allocations: 0 / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.002236, allocations: 4 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.2209/0.2232, allocations: 1.609 kB / 0.6481 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.2237, allocations: 104.5 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.2237, allocations: 33.8 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.2238, allocations: 2.906 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.2239, allocations: 13.73 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.2239, allocations: 11.27 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2239, allocations: 1.938 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.2242, allocations: 258.6 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2242, allocations: 6.906 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.2243, allocations: 7.469 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2245, allocations: 137.6 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2245, allocations: 0 / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2245, allocations: 1.297 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2245, allocations: 1.031 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000346/0.2248, allocations: 290.1 kB / 0.6489 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2249, allocations: 13.16 kB / 0.6489 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.2249, allocations: 37.06 kB / 0.649 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.2249, allocations: 3.344 kB / 0.649 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.721e-05/0.225, allocations: 110.9 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.225, allocations: 2.312 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.225, allocations: 1.469 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2251, allocations: 55.83 kB / 0.6491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2251, allocations: 0.8438 kB / 0.6491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2252, allocations: 1.156 kB / 0.6491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2252, allocations: 4.125 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.2253, allocations: 35.78 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.2255, allocations: 215.9 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.2256, allocations: 40.36 kB / 0.6494 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.2256, allocations: 23.33 kB / 0.6494 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.2259, allocations: 79.42 kB / 0.6495 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.2259, allocations: 37.73 kB / 0.6495 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.2259, allocations: 0 / 0.6495 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002398/0.2262, allocations: 85.12 kB / 0.6496 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.2262, allocations: 52.94 kB / 0.6497 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.2262, allocations: 107.8 kB / 0.6498 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.2262, allocations: 26.83 kB / 0.6498 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.2263, allocations: 88.88 kB / 0.6499 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.2263, allocations: 6.797 kB / 0.6499 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.2263, allocations: 14.19 kB / 0.6499 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.2263, allocations: 315 kB / 0.6502 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.2264, allocations: 16.42 kB / 0.6502 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.2264, allocations: 18.92 kB / 0.6502 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.2265, allocations: 42.19 kB / 0.6503 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2265, allocations: 0 / 0.6503 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.2266, allocations: 76.33 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2267, allocations: 3.688 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2267, allocations: 3.594 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2267, allocations: 1.219 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.2267, allocations: 12.91 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2267, allocations: 0.6094 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.2268, allocations: 6.312 kB / 0.6504 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.2268, allocations: 5.547 kB / 0.6504 GB, free: 54.38 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 (2): * Single equations (assignments): 2 * 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.524e-05/0.2268, allocations: 112.6 kB / 0.6505 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.2268, allocations: 5.625 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.227, allocations: 74.44 kB / 0.6506 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.227, allocations: 1.375 kB / 0.6506 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.227, allocations: 2 kB / 0.6506 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.227, allocations: 0.5156 kB / 0.6506 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.018e-05/0.2271, allocations: 127.9 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2271, allocations: 1.375 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.2271, allocations: 14.16 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2271, allocations: 5 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2271, allocations: 0 / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2271, allocations: 1.734 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2271, allocations: 2.25 kB / 0.6507 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2272, allocations: 166.2 kB / 0.6509 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.2272, allocations: 10.95 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2272, allocations: 4.25 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.2273, allocations: 6.484 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2273, allocations: 7.078 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2273, allocations: 1.375 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.2273, allocations: 83.89 kB / 0.651 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2273, allocations: 1.094 kB / 0.651 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001598/0.2275, allocations: 12.78 kB / 0.651 GB, free: 53.86 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 (2): * Single equations (assignments): 2 * 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.000297/0.2278, allocations: 0.713 MB / 0.6517 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.2279, allocations: 43.08 kB / 0.6517 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2279, allocations: 0.6562 kB / 0.6517 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.228, allocations: 20.84 kB / 0.6518 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2282, allocations: 6.188 kB / 0.6518 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.2285, allocations: 143.4 kB / 0.6519 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.2286, allocations: 65.14 kB / 0.652 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.2286, allocations: 2.516 kB / 0.652 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.2286, allocations: 15.06 kB / 0.652 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.2286, allocations: 0 / 0.652 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.2433, allocations: 2.288 MB / 0.6542 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/6.678, allocations: 3.75 kB / 0.6542 GB, free: 52.15 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.161619463935494] Failed to read output from testmodel.py, exit status != 0: 6.754563122987747 6.763786638 6.5374243739999995 Calling exit ...