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.001558/0.001558, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001438/0.001438, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.406/1.406, 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.002551/0.002551, allocations: 309.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4059, allocations: 86.97 MB / 0.767 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002825/0.4087, allocations: 1.592 MB / 0.7686 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4099, allocations: 0.6794 MB / 0.7692 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.41, allocations: 4 kB / 0.7692 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.4102, allocations: 63.52 kB / 0.7693 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.4106, allocations: 167.4 kB / 0.7695 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.416e-05/0.4106, allocations: 4 kB / 0.7695 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.4109, allocations: 183.3 kB / 0.7696 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.4109, allocations: 8.875 kB / 0.7697 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.411, allocations: 91.55 kB / 0.7697 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.4112, allocations: 83.66 kB / 0.7698 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4112, allocations: 8 kB / 0.7698 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.4114, allocations: 123.8 kB / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.4115, allocations: 67.75 kB / 0.77 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.4116, allocations: 79.47 kB / 0.7701 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.4119, allocations: 241.3 kB / 0.7703 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4119, allocations: 0 / 0.7703 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4119, allocations: 0 / 0.7703 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.4119, allocations: 4 kB / 0.7703 GB, free: 0.6953 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.000593/0.4125, allocations: 470.5 kB / 0.7708 GB, free: 192 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4125, allocations: 8.031 kB / 0.7708 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.4126, allocations: 20.8 kB / 0.7708 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4127, allocations: 180.1 kB / 0.771 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4128, allocations: 16.38 kB / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.4128, allocations: 16.36 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.4133, allocations: 359.4 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4133, allocations: 4 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.4133, allocations: 7.984 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.4135, allocations: 60.28 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.4138, allocations: 221 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.4153, allocations: 0.9989 MB / 0.7726 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4155, allocations: 188 kB / 0.7728 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4157, allocations: 97.2 kB / 0.7729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4157, allocations: 4 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4157, allocations: 38.5 kB / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.4157, allocations: 0 / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005636/0.4163, allocations: 370.2 kB / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4163, allocations: 51.41 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4165, allocations: 153.7 kB / 0.7735 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4165, allocations: 29.69 kB / 0.7735 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4166, allocations: 152.5 kB / 0.7736 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.4167, allocations: 138.8 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4168, allocations: 81.59 kB / 0.7738 GB, free: 12.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.417, allocations: 326.8 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4171, allocations: 108.5 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4174, allocations: 230.7 kB / 0.7745 GB, free: 12.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.4179, allocations: 393.3 kB / 0.7749 GB, free: 11.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4179, allocations: 3.938 kB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005481/0.4184, allocations: 389 kB / 0.7752 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4184, allocations: 8 kB / 0.7752 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4184, allocations: 4 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4184, allocations: 8.469 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4186, allocations: 43.92 kB / 0.7753 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4186, allocations: 15.92 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4187, allocations: 31.67 kB / 0.7753 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.4188, allocations: 28 kB / 0.7754 GB, free: 11.15 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.0001669/0.4189, allocations: 164 kB / 0.7755 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.419, allocations: 19.86 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.4194, allocations: 287.7 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.133e-05/0.4195, allocations: 23.98 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4195, allocations: 11.94 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4195, allocations: 0 / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.4204, allocations: 0.623 MB / 0.7765 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4204, allocations: 4 kB / 0.7765 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.4205, allocations: 4 kB / 0.7765 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4205, allocations: 7.938 kB / 0.7765 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4205, allocations: 7.984 kB / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4205, allocations: 0 / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4205, allocations: 0 / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.4209, allocations: 390.8 kB / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.421, allocations: 112.8 kB / 0.777 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.421, allocations: 3.984 kB / 0.777 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.4211, allocations: 0 / 0.777 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4212, allocations: 15.97 kB / 0.777 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4212, allocations: 19.98 kB / 0.777 GB, free: 9.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.4213, allocations: 106.1 kB / 0.7771 GB, free: 9.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4213, allocations: 0 / 0.7771 GB, free: 9.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003744/0.4216, allocations: 71.91 kB / 0.7772 GB, free: 9.191 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.0002596/0.4219, allocations: 131.2 kB / 0.7773 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.4223, allocations: 256.4 kB / 0.7775 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4223, allocations: 4.125 kB / 0.7775 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.4225, allocations: 107.9 kB / 0.7776 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4227, allocations: 15.92 kB / 0.7777 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.4235, allocations: 479.3 kB / 0.7781 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4239, allocations: 0.7601 MB / 0.7789 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.4241, allocations: 77.48 kB / 0.7789 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4242, allocations: 39.42 kB / 0.779 GB, free: 7.289 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.4242, allocations: 4 kB / 0.779 GB, free: 7.285 MB / 0.545 GB Notification: Performance of Templates: time 0.004887/0.4291, allocations: 1.621 MB / 0.7806 GB, free: 5.672 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)