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.001299/0.001299, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001424/0.001424, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.002997/0.002997, allocations: 288.4 kB / 313.5 MB, free: 2.766 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.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 13 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.004585/0.004585, allocations: 99.14 kB / 0.7404 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2141, allocations: 95.38 MB / 0.8335 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002959/0.217, allocations: 1.483 MB / 0.835 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.2178, allocations: 389.2 kB / 0.8353 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2179, allocations: 0 / 0.8353 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.2179, allocations: 3.984 kB / 0.8353 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.2179, allocations: 3.938 kB / 0.8353 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2184, allocations: 115.7 kB / 0.8354 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.517e-05/0.2185, allocations: 31.91 kB / 0.8355 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.2185, allocations: 4.281 kB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.2186, allocations: 11.94 kB / 0.8355 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.2186, allocations: 11.92 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2187, allocations: 4 kB / 0.8355 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.2191, allocations: 279.6 kB / 0.8358 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2191, allocations: 7.984 kB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.2191, allocations: 11.94 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.2193, allocations: 111.6 kB / 0.8359 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2194, allocations: 0 / 0.8359 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2194, allocations: 4 kB / 0.8359 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2194, allocations: 0 / 0.8359 GB, free: 6.117 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.0005/0.2199, allocations: 286 kB / 0.8362 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2199, allocations: 13.34 kB / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.2199, allocations: 192 / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.22, allocations: 30.75 kB / 0.8362 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.22, allocations: 4.938 kB / 0.8362 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2202, allocations: 114.5 kB / 0.8363 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2202, allocations: 8.375 kB / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.2202, allocations: 384 / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2204, allocations: 53.98 kB / 0.8364 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2204, allocations: 3.938 kB / 0.8364 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2204, allocations: 0 / 0.8364 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2204, allocations: 0 / 0.8364 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2206, allocations: 31.97 kB / 0.8364 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2209, allocations: 231.9 kB / 0.8366 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2211, allocations: 34.56 kB / 0.8367 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.2212, allocations: 20.91 kB / 0.8367 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.2217, allocations: 79.91 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2217, allocations: 42.5 kB / 0.8368 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2218, allocations: 0 / 0.8368 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003924/0.2221, allocations: 85.64 kB / 0.8369 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2222, allocations: 51.41 kB / 0.8369 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.2223, allocations: 105.8 kB / 0.837 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2223, allocations: 25.7 kB / 0.8371 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.2223, allocations: 84.14 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.2224, allocations: 11.83 kB / 0.8372 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2224, allocations: 13.72 kB / 0.8372 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2226, allocations: 323 kB / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.2226, allocations: 15.98 kB / 0.8375 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.2227, allocations: 19.92 kB / 0.8375 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2229, allocations: 40.77 kB / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2229, allocations: 0 / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002102/0.2231, allocations: 73.67 kB / 0.8376 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2231, allocations: 4 kB / 0.8376 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2231, allocations: 0 / 0.8376 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2231, allocations: 4 kB / 0.8376 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.2232, allocations: 7.984 kB / 0.8376 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2232, allocations: 0 / 0.8376 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.2232, allocations: 11.98 kB / 0.8377 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2233, allocations: 0 / 0.8377 GB, free: 4.125 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 0.0001217/0.2234, allocations: 118.5 kB / 0.8378 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2234, allocations: 3.938 kB / 0.8378 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.2236, allocations: 77.27 kB / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2236, allocations: 0 / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2237, allocations: 0 / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2237, allocations: 0 / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2238, allocations: 136.7 kB / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2238, allocations: 4.031 kB / 0.838 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.2239, allocations: 11.92 kB / 0.838 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2239, allocations: 4 kB / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2239, allocations: 0 / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2239, allocations: 0 / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2239, allocations: 0 / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2242, allocations: 175.3 kB / 0.8382 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.2242, allocations: 4 kB / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2242, allocations: 0 / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.2243, allocations: 8.234 kB / 0.8382 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.2243, allocations: 4 kB / 0.8382 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2243, allocations: 4 kB / 0.8382 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2244, allocations: 83.27 kB / 0.8383 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2244, allocations: 0 / 0.8383 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002287/0.2246, allocations: 16 kB / 0.8383 GB, free: 3.41 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.0006262/0.2252, allocations: 0.7123 MB / 0.839 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2254, allocations: 43.98 kB / 0.839 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2254, allocations: 0 / 0.839 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.2255, allocations: 19.92 kB / 0.839 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2258, allocations: 4.688 kB / 0.839 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.2263, allocations: 151.8 kB / 0.8392 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2266, allocations: 0.6729 MB / 0.8398 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.2266, allocations: 16.05 kB / 0.8399 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.2266, allocations: 11.44 kB / 0.8399 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2266, allocations: 0 / 0.8399 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.2482, allocations: 1.758 MB / 0.8416 GB, free: 92 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.07, allocations: 4.062 kB / 0.8416 GB, free: 88 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.475597035954706] Failed to read output from testmodel.py, exit status != 0: 11.233006358030252 11.249332607 11.026829225 Calling exit ...