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.0015/0.0015, allocations: 101.9 kB / 19.73 MB, free: 2.113 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.001887/0.001887, allocations: 218.6 kB / 23.03 MB, free: 4.914 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.002461/0.002461, allocations: 297.3 kB / 313.5 MB, free: 2.613 MB / 238.1 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 1.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 14.44 MB / 382.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002869/0.002869, allocations: 96.58 kB / 0.7403 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2065, allocations: 95.39 MB / 0.8334 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002866/0.2094, allocations: 1.467 MB / 0.8348 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.2102, allocations: 353.4 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.2102, allocations: 0 / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.2103, allocations: 3.938 kB / 0.8352 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.2103, allocations: 3.938 kB / 0.8352 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.2108, allocations: 114.4 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.2109, allocations: 27.92 kB / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.211, allocations: 288 / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.211, allocations: 19.92 kB / 0.8353 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.2111, allocations: 19.91 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2111, allocations: 4 kB / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.2115, allocations: 275.7 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2115, allocations: 0 / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.2115, allocations: 11.94 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.2118, allocations: 107.6 kB / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2118, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2118, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2118, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 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.000517/0.2123, allocations: 298 kB / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2123, allocations: 13.34 kB / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.385e-05/0.2124, allocations: 192 / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.2124, allocations: 38.75 kB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.2125, allocations: 4.938 kB / 0.8361 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2126, allocations: 114.4 kB / 0.8362 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.2126, allocations: 8.312 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2126, allocations: 384 / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2128, allocations: 53.98 kB / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2128, allocations: 0 / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.2128, allocations: 4 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2128, allocations: 0 / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.213, allocations: 35.95 kB / 0.8363 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.2133, allocations: 224 kB / 0.8365 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2134, allocations: 38.5 kB / 0.8365 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.2135, allocations: 16.91 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.2141, allocations: 83.91 kB / 0.8366 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2141, allocations: 30.56 kB / 0.8367 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2141, allocations: 3.938 kB / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003967/0.2145, allocations: 89.58 kB / 0.8368 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2145, allocations: 55.41 kB / 0.8368 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.2146, allocations: 97.86 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2146, allocations: 29.7 kB / 0.8369 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.2147, allocations: 88.12 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2147, allocations: 7.891 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2147, allocations: 13.72 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2149, allocations: 314.8 kB / 0.8373 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.215, allocations: 24.09 kB / 0.8374 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.215, allocations: 15.98 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2152, allocations: 40.77 kB / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2152, allocations: 0 / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.2154, allocations: 73.64 kB / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2154, allocations: 10.34 kB / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2154, allocations: 0 / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2154, allocations: 0 / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.2155, allocations: 11.98 kB / 0.8375 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2155, allocations: 0 / 0.8375 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.2156, allocations: 4 kB / 0.8375 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2156, allocations: 3.984 kB / 0.8375 GB, free: 3.906 MB / 0.5762 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 9.179e-05/0.2157, allocations: 118.4 kB / 0.8376 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2157, allocations: 0 / 0.8376 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2159, allocations: 77.28 kB / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2159, allocations: 0 / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2159, allocations: 0 / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.216, allocations: 3.938 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2161, allocations: 132.9 kB / 0.8378 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2161, allocations: 4 kB / 0.8378 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.2162, allocations: 11.98 kB / 0.8378 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2162, allocations: 3.938 kB / 0.8378 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2162, allocations: 4.031 kB / 0.8378 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2162, allocations: 0 / 0.8378 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2162, allocations: 3.984 kB / 0.8379 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2164, allocations: 167.5 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.2165, allocations: 3.953 kB / 0.838 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2165, allocations: 3.938 kB / 0.838 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.2165, allocations: 7.984 kB / 0.838 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2166, allocations: 0 / 0.838 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2166, allocations: 4.031 kB / 0.838 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.2166, allocations: 91.27 kB / 0.8381 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2166, allocations: 0 / 0.8381 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002317/0.2169, allocations: 12 kB / 0.8381 GB, free: 3.191 MB / 0.5762 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.0006384/0.2175, allocations: 0.7045 MB / 0.8388 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.2177, allocations: 43.98 kB / 0.8389 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2177, allocations: 0 / 0.8389 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2178, allocations: 23.92 kB / 0.8389 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2182, allocations: 1.031 kB / 0.8389 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.2187, allocations: 155.2 kB / 0.839 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.2187, allocations: 63.34 kB / 0.8391 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.2188, allocations: 0 / 0.8391 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2188, allocations: 7.562 kB / 0.8391 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2188, allocations: 4 kB / 0.8391 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2406, allocations: 1.802 MB / 0.8409 GB, free: 476 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.27, allocations: 8 kB / 0.8409 GB, free: 468 kB / 0.5762 GB " [Timeout remaining time 649] (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: 15.62412933097221] Failed to read output from testmodel.py, exit status != 0: 11.434292852994986 11.453721885 11.238666478 Calling exit ...