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.00147/0.00147, allocations: 112.6 kB / 16.42 MB, free: 6.5 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.001654/0.001654, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.349/1.349, allocations: 222.9 MB / 241.1 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.002294/0.002294, allocations: 282.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9949/0.9949, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 99.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4971, allocations: 86.98 MB / 0.767 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002778/0.4999, allocations: 1.591 MB / 0.7686 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.5012, allocations: 0.6833 MB / 0.7692 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.5012, allocations: 0 / 0.7692 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.5015, allocations: 67.52 kB / 0.7693 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.5019, allocations: 167.4 kB / 0.7695 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.213e-05/0.502, allocations: 3.938 kB / 0.7695 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.5022, allocations: 183.3 kB / 0.7696 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.5022, allocations: 12.88 kB / 0.7697 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.5024, allocations: 83.61 kB / 0.7697 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.5025, allocations: 91.64 kB / 0.7698 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5025, allocations: 8 kB / 0.7698 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.5028, allocations: 115.8 kB / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.5029, allocations: 75.8 kB / 0.77 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.5029, allocations: 71.55 kB / 0.7701 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.5032, allocations: 245.7 kB / 0.7703 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5032, allocations: 0 / 0.7703 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5032, allocations: 4 kB / 0.7703 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.5033, 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.0005311/0.5038, allocations: 466.8 kB / 0.7708 GB, free: 192 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.5038, allocations: 8.031 kB / 0.7708 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.5039, allocations: 20.66 kB / 0.7708 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.504, allocations: 180.1 kB / 0.771 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.504, allocations: 12.36 kB / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.5041, allocations: 12.38 kB / 0.771 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.5045, allocations: 363.4 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5045, allocations: 0 / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.5046, allocations: 11.92 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.5047, allocations: 64.28 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.505, allocations: 221 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.5064, allocations: 0.987 MB / 0.7726 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.5066, allocations: 215.9 kB / 0.7728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.5067, allocations: 109.2 kB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.5068, allocations: 4 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.5068, allocations: 30.56 kB / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.5068, allocations: 0 / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005259/0.5073, allocations: 370.6 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.5074, allocations: 51.41 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5075, allocations: 149.6 kB / 0.7735 GB, free: 13.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5075, allocations: 29.7 kB / 0.7735 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.5076, allocations: 148.1 kB / 0.7736 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.5077, allocations: 138 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.5078, allocations: 73.56 kB / 0.7738 GB, free: 12.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5079, allocations: 330.8 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.5081, allocations: 112.5 kB / 0.7743 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5083, allocations: 226.8 kB / 0.7745 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.5087, allocations: 397.2 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5087, allocations: 4 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004832/0.5092, allocations: 380.9 kB / 0.7752 GB, free: 11.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5092, allocations: 11.34 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5092, allocations: 4 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5093, allocations: 8 kB / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.5094, allocations: 39.91 kB / 0.7753 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5094, allocations: 15.92 kB / 0.7753 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.5095, allocations: 39.47 kB / 0.7753 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5096, allocations: 27.98 kB / 0.7754 GB, free: 11.14 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.0001327/0.5097, allocations: 153.7 kB / 0.7755 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.5098, allocations: 19.72 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.5101, allocations: 279.8 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5102, allocations: 4 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5102, allocations: 0 / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.5102, allocations: 104.7 kB / 0.7759 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.5103, allocations: 4 kB / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.5104, allocations: 11.91 kB / 0.7759 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.5104, allocations: 15.92 kB / 0.7759 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003568/0.5107, allocations: 368.4 kB / 0.7763 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004003/0.5112, allocations: 462 kB / 0.7767 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001309/0.5113, allocations: 119.9 kB / 0.7768 GB, free: 9.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.5114, allocations: 106.1 kB / 0.7769 GB, free: 9.461 MB / 0.545 GB Notification: Performance of Backend: time 1.883e-06/0.5114, allocations: 0 / 0.7769 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.5121, allocations: 290.2 kB / 0.7772 GB, free: 9.172 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007279/0.5129, allocations: 0.8142 MB / 0.778 GB, free: 8.312 MB / 0.545 GB Notification: Performance of Templates: time 0.005139/0.518, allocations: 2.228 MB / 0.7802 GB, free: 6.102 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)