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.001612/0.001612, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001937/0.001937, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002374/0.002374, allocations: 285.4 kB / 309.8 MB, free: 3.527 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.068/1.068, allocations: 180.6 MB / 0.5338 GB, free: 12.45 MB / 398.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.002868/0.002868, allocations: 99.84 kB / 0.7346 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5575, allocations: 95.34 MB / 0.8277 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003282/0.5608, allocations: 1.628 MB / 0.8293 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5621, allocations: 0.7118 MB / 0.83 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.5621, allocations: 4 kB / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.5624, allocations: 64.78 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.5628, allocations: 168.2 kB / 0.8303 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.416e-05/0.5628, allocations: 0 / 0.8303 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.563, allocations: 192.3 kB / 0.8304 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.5631, allocations: 6.875 kB / 0.8304 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.5632, allocations: 79.11 kB / 0.8305 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.5634, allocations: 101.1 kB / 0.8306 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.5634, allocations: 6.625 kB / 0.8306 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.5637, allocations: 132.4 kB / 0.8307 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.5638, allocations: 73.19 kB / 0.8308 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.5638, allocations: 78.23 kB / 0.8309 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.5642, allocations: 252.1 kB / 0.8311 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5642, allocations: 0 / 0.8311 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5642, allocations: 2.281 kB / 0.8311 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.5642, allocations: 0 / 0.8311 GB, free: 0.9648 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.0004818/0.5647, allocations: 472 kB / 0.8316 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5647, allocations: 10.75 kB / 0.8316 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.5647, allocations: 7.844 kB / 0.8316 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.5648, allocations: 59.36 kB / 0.8317 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.565, allocations: 30.16 kB / 0.8317 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.5651, allocations: 186.6 kB / 0.8319 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5651, allocations: 9.297 kB / 0.8319 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.5651, allocations: 13.91 kB / 0.8319 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.5656, allocations: 357.7 kB / 0.8322 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5656, allocations: 3.938 kB / 0.8322 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.5656, allocations: 14.53 kB / 0.8322 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.5658, allocations: 63.72 kB / 0.8323 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.5661, allocations: 219.2 kB / 0.8325 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.5676, allocations: 0.9931 MB / 0.8335 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5678, allocations: 199.6 kB / 0.8337 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.568, allocations: 97.27 kB / 0.8338 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.568, allocations: 4 kB / 0.8338 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.568, allocations: 38.28 kB / 0.8338 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.073e-06/0.568, allocations: 0 / 0.8338 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.0006094/0.5686, allocations: 367.6 kB / 0.8342 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.5687, allocations: 59.69 kB / 0.8342 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5688, allocations: 151 kB / 0.8344 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5689, allocations: 25.7 kB / 0.8344 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.569, allocations: 155.8 kB / 0.8345 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5691, allocations: 135.9 kB / 0.8347 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5692, allocations: 73.61 kB / 0.8347 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5693, allocations: 329.5 kB / 0.835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5695, allocations: 102.4 kB / 0.8351 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.5698, allocations: 230.4 kB / 0.8354 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.5702, allocations: 395.6 kB / 0.8357 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5702, allocations: 5.062 kB / 0.8357 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005533/0.5708, allocations: 389.2 kB / 0.8361 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5708, allocations: 6.281 kB / 0.8361 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5708, allocations: 6.391 kB / 0.8361 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5708, allocations: 8.531 kB / 0.8361 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.571, allocations: 42.84 kB / 0.8362 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.571, allocations: 10.61 kB / 0.8362 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5711, allocations: 37.33 kB / 0.8362 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.5712, allocations: 32.39 kB / 0.8363 GB, free: 13.4 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.0001683/0.5713, allocations: 161.3 kB / 0.8364 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.5714, allocations: 14.41 kB / 0.8364 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.5718, allocations: 279.7 kB / 0.8367 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/0.5719, allocations: 32.86 kB / 0.8367 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5719, allocations: 0 / 0.8367 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5719, allocations: 0.5156 kB / 0.8367 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.5729, allocations: 0.6298 MB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.5729, allocations: 8.594 kB / 0.8373 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.5729, allocations: 12.28 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5729, allocations: 0 / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5729, allocations: 9 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5729, allocations: 0.6094 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5729, allocations: 3.938 kB / 0.8374 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.5734, allocations: 397.2 kB / 0.8377 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.5735, allocations: 101.4 kB / 0.8378 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5735, allocations: 0 / 0.8378 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.5736, allocations: 7.625 kB / 0.8379 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.5736, allocations: 11.53 kB / 0.8379 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.5736, allocations: 16.77 kB / 0.8379 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.5737, allocations: 104.8 kB / 0.838 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5737, allocations: 0 / 0.838 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000406/0.5741, allocations: 67.12 kB / 0.838 GB, free: 12.32 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.0009856/0.5751, allocations: 0.9622 MB / 0.839 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.5755, allocations: 267.4 kB / 0.8392 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5755, allocations: 0 / 0.8392 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.5757, allocations: 108.9 kB / 0.8393 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5759, allocations: 11.73 kB / 0.8394 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.577, allocations: 0.5373 MB / 0.8399 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.5774, allocations: 0.7592 MB / 0.8406 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.5777, allocations: 80.91 kB / 0.8407 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.5778, allocations: 84.27 kB / 0.8408 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.5778, allocations: 0 / 0.8408 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.5993, allocations: 3.921 MB / 0.8446 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.944/9.543, allocations: 9.219 kB / 0.8446 GB, free: 9.816 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.632553072995506] Failed to read output from testmodel.py, exit status != 0: 9.674949334003031 9.698977534 9.130361858 Calling exit ...