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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.7 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 187 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002349/0.002349, allocations: 290.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9858/0.9858, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3916, allocations: 86.99 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002485/0.3941, allocations: 1.596 MB / 0.7686 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3952, allocations: 0.6716 MB / 0.7692 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3953, allocations: 0 / 0.7692 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3956, allocations: 71.48 kB / 0.7693 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.396, allocations: 163.4 kB / 0.7695 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.68e-05/0.396, allocations: 7.984 kB / 0.7695 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3963, allocations: 179.3 kB / 0.7696 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.3963, allocations: 8.875 kB / 0.7696 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3964, allocations: 83.61 kB / 0.7697 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3966, allocations: 87.64 kB / 0.7698 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3966, allocations: 8 kB / 0.7698 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.3969, allocations: 123.8 kB / 0.7699 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.397, allocations: 75.73 kB / 0.77 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.3971, allocations: 75.55 kB / 0.7701 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3973, allocations: 233.7 kB / 0.7703 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3974, allocations: 7.938 kB / 0.7703 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3974, allocations: 0 / 0.7703 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3974, allocations: 0 / 0.7703 GB, free: 0.6914 MB / 0.5294 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.0004888/0.3979, allocations: 462.9 kB / 0.7707 GB, free: 196 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3979, allocations: 8.031 kB / 0.7708 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.398, allocations: 20.66 kB / 0.7708 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3981, allocations: 188.1 kB / 0.771 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3981, allocations: 12.36 kB / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3981, allocations: 16.36 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.3986, allocations: 359.5 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3986, allocations: 0 / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3986, allocations: 7.938 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.3988, allocations: 60.28 kB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.3991, allocations: 217 kB / 0.7716 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.4004, allocations: 0.9987 MB / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4007, allocations: 212 kB / 0.7728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4008, allocations: 109.1 kB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4008, allocations: 0 / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4009, allocations: 38.5 kB / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.222e-06/0.4009, allocations: 0 / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005061/0.4014, allocations: 362.6 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4014, allocations: 55.41 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4016, allocations: 160.4 kB / 0.7735 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4016, allocations: 25.7 kB / 0.7735 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.4017, allocations: 156.1 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.4018, allocations: 126 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.4018, allocations: 77.56 kB / 0.7738 GB, free: 12.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.402, allocations: 334.8 kB / 0.7742 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4021, allocations: 100.5 kB / 0.7743 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.4023, allocations: 238.7 kB / 0.7745 GB, free: 12.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.4027, allocations: 385.3 kB / 0.7748 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4027, allocations: 8 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004974/0.4032, allocations: 388.9 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4033, allocations: 8.516 kB / 0.7752 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4033, allocations: 12 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4033, allocations: 8 kB / 0.7753 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4034, allocations: 35.92 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4035, allocations: 7.938 kB / 0.7753 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4036, allocations: 43.52 kB / 0.7753 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.4036, allocations: 24 kB / 0.7754 GB, free: 11.13 MB / 0.545 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.0001276/0.4038, allocations: 160.1 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.4038, allocations: 15.72 kB / 0.7755 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.4042, allocations: 283.7 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.218e-05/0.4043, allocations: 27.98 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4043, allocations: 3.938 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4043, allocations: 3.984 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.4052, allocations: 0.6267 MB / 0.7764 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4052, allocations: 3.938 kB / 0.7764 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.4052, allocations: 8 kB / 0.7765 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4052, allocations: 3.938 kB / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4053, allocations: 15.97 kB / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4053, allocations: 0 / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4053, allocations: 8 kB / 0.7765 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.4057, allocations: 378.8 kB / 0.7768 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.4057, allocations: 100.7 kB / 0.7769 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4058, allocations: 7.984 kB / 0.7769 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.4058, allocations: 0 / 0.7769 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.4059, allocations: 19.91 kB / 0.777 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4059, allocations: 19.98 kB / 0.777 GB, free: 9.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.406, allocations: 114.4 kB / 0.7771 GB, free: 9.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.406, allocations: 0 / 0.7771 GB, free: 9.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003572/0.4064, allocations: 59.92 kB / 0.7771 GB, free: 9.188 MB / 0.545 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.0002624/0.4066, allocations: 135.2 kB / 0.7773 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.407, allocations: 287.8 kB / 0.7776 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.407, allocations: 0 / 0.7776 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4072, allocations: 123.9 kB / 0.7777 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4074, allocations: 7.984 kB / 0.7777 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.4081, allocations: 494.7 kB / 0.7782 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4084, allocations: 0.7646 MB / 0.7789 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4086, allocations: 43.42 kB / 0.7789 GB, free: 7.289 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.4086, allocations: 0 / 0.7789 GB, free: 7.289 MB / 0.545 GB Notification: Performance of Templates: time 0.004339/0.4129, allocations: 2.508 MB / 0.7814 GB, free: 4.797 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)