Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.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.001276/0.001276, 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.001464/0.001464, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002412/0.002412, allocations: 271.9 kB / 313.5 MB, free: 2.836 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.214/1.214, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",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.002755/0.002755, allocations: 97.92 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1928, allocations: 95.39 MB / 0.8335 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002883/0.1957, allocations: 1.64 MB / 0.8351 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.197, allocations: 0.7182 MB / 0.8358 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1971, allocations: 0 / 0.8358 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1974, allocations: 63.92 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.1978, allocations: 171.4 kB / 0.836 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.644e-05/0.1978, allocations: 8 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.198, allocations: 175.3 kB / 0.8362 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.1981, allocations: 13.3 kB / 0.8362 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1983, allocations: 83.67 kB / 0.8363 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1984, allocations: 95.61 kB / 0.8364 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1984, allocations: 8 kB / 0.8364 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.1987, allocations: 131.8 kB / 0.8365 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.1988, allocations: 75.73 kB / 0.8366 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.1989, allocations: 71.55 kB / 0.8366 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1992, allocations: 239 kB / 0.8369 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1992, allocations: 4 kB / 0.8369 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1992, allocations: 3.938 kB / 0.8369 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.1992, allocations: 0 / 0.8369 GB, free: 5.195 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005722/0.1998, allocations: 397.3 kB / 0.8372 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1998, allocations: 13.34 kB / 0.8373 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.93e-05/0.1998, allocations: 4.188 kB / 0.8373 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.1999, allocations: 58.72 kB / 0.8373 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.2001, allocations: 32.78 kB / 0.8373 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.945e-05/0.2002, allocations: 134.2 kB / 0.8375 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2003, allocations: 12.38 kB / 0.8375 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2003, allocations: 16.36 kB / 0.8375 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2008, allocations: 358.9 kB / 0.8378 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2008, allocations: 3.938 kB / 0.8378 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2008, allocations: 4 kB / 0.8379 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.201, allocations: 64.28 kB / 0.8379 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.2013, allocations: 221.8 kB / 0.8381 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2027, allocations: 0.9669 MB / 0.8391 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.203, allocations: 114.8 kB / 0.8392 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2031, allocations: 97.2 kB / 0.8393 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.2031, allocations: 0 / 0.8393 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2031, allocations: 34.56 kB / 0.8393 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.222e-06/0.2031, allocations: 0 / 0.8393 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005578/0.2037, allocations: 370.6 kB / 0.8397 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2038, allocations: 59.28 kB / 0.8397 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2039, allocations: 145.7 kB / 0.8399 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2039, allocations: 33.69 kB / 0.8399 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.204, allocations: 152.5 kB / 0.84 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2041, allocations: 134.8 kB / 0.8402 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.2042, allocations: 77.59 kB / 0.8402 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2044, allocations: 326.8 kB / 0.8405 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2045, allocations: 112.4 kB / 0.8407 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.2048, allocations: 230.4 kB / 0.8409 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2052, allocations: 392 kB / 0.8412 GB, free: 388 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2052, allocations: 0 / 0.8412 GB, free: 388 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005556/0.2058, allocations: 391.2 kB / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2058, allocations: 9.719 kB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2058, allocations: 4 kB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2058, allocations: 7.938 kB / 0.8416 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.206, allocations: 39.88 kB / 0.8417 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.206, allocations: 11.92 kB / 0.8417 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2061, allocations: 47.62 kB / 0.8417 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.2062, allocations: 24 kB / 0.8418 GB, free: 15.85 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (32): * Single equations (assignments): 20 * Array equations: 12 * 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.0001571/0.2063, allocations: 161.9 kB / 0.8419 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2064, allocations: 11.91 kB / 0.8419 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.2068, allocations: 287 kB / 0.8422 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.416e-05/0.2069, allocations: 35.86 kB / 0.8422 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2069, allocations: 0 / 0.8422 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2069, allocations: 0 / 0.8422 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.2078, allocations: 0.5985 MB / 0.8428 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2078, allocations: 3.938 kB / 0.8428 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.2078, allocations: 15.92 kB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2078, allocations: 4 kB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2078, allocations: 4 kB / 0.8428 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2078, allocations: 3.984 kB / 0.8428 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2078, allocations: 0 / 0.8428 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.2083, allocations: 394.9 kB / 0.8432 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.2083, allocations: 27.72 kB / 0.8432 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2083, allocations: 7.984 kB / 0.8433 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.2084, allocations: 0 / 0.8433 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.2084, allocations: 23.95 kB / 0.8433 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.2085, allocations: 12 kB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.299e-05/0.2085, allocations: 109.4 kB / 0.8434 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2085, allocations: 0 / 0.8434 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003558/0.2089, allocations: 67.88 kB / 0.8435 GB, free: 14.02 MB / 0.5919 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 (17): * Single equations (assignments): 5 * Array equations: 12 * 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.0009663/0.2098, allocations: 0.95 MB / 0.8444 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.2103, allocations: 260.5 kB / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2103, allocations: 0 / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.2104, allocations: 115.8 kB / 0.8447 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2107, allocations: 16.05 kB / 0.8448 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.2117, allocations: 0.5257 MB / 0.8453 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.2121, allocations: 0.76 MB / 0.846 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.2123, allocations: 81.41 kB / 0.8461 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2125, allocations: 75.41 kB / 0.8462 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.2125, allocations: 0 / 0.8462 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2376, allocations: 4.296 MB / 0.8504 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.96, allocations: 8.047 kB / 0.8504 GB, free: 7.008 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.299217469990253] Failed to read output from testmodel.py, exit status != 0: 12.128799681959208 12.152559451 11.949070362 Calling exit ...