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.004579/0.004579, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001068/0.001068, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 274.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9247/0.9247, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 86.97 MB / 0.7663 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002243/0.1481, allocations: 1.595 MB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00099/0.1491, allocations: 0.6743 MB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.1492, allocations: 0 / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1494, allocations: 67.66 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1497, allocations: 167.4 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.062e-05/0.1498, allocations: 7.938 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.15, allocations: 175.3 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.15, allocations: 12.88 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1501, allocations: 83.67 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1503, allocations: 87.64 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1503, allocations: 8 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1505, allocations: 119.8 kB / 0.7693 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.1506, allocations: 71.78 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.1507, allocations: 79.48 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1509, allocations: 239 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.151, allocations: 0 / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.151, allocations: 0 / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.151, allocations: 0 / 0.7696 GB, free: 5.086 MB / 0.5606 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.0004511/0.1514, allocations: 474.4 kB / 0.7701 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.1515, allocations: 8.031 kB / 0.7701 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1515, allocations: 20.8 kB / 0.7701 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.1516, allocations: 180.2 kB / 0.7703 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1516, allocations: 16.36 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1517, allocations: 20.3 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.1521, allocations: 358.8 kB / 0.7707 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1521, allocations: 0 / 0.7707 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1521, allocations: 3.984 kB / 0.7707 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.1523, allocations: 64.28 kB / 0.7707 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.1525, allocations: 225.6 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1538, allocations: 0.995 MB / 0.7719 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.154, allocations: 207.9 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1541, allocations: 109.2 kB / 0.7722 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1542, allocations: 7.984 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1542, allocations: 42.55 kB / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.412e-06/0.1542, allocations: 0 / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0004849/0.1547, allocations: 366.6 kB / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1547, allocations: 55.41 kB / 0.7727 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1548, allocations: 152 kB / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1549, allocations: 29.7 kB / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.1549, allocations: 156.5 kB / 0.773 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.155, allocations: 134.8 kB / 0.7731 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.1551, allocations: 77.56 kB / 0.7732 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1552, allocations: 330.8 kB / 0.7735 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1554, allocations: 100.5 kB / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1556, allocations: 242.6 kB / 0.7738 GB, free: 468 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.156, allocations: 392 kB / 0.7742 GB, free: 20 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.156, allocations: 4 kB / 0.7742 GB, free: 16 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.3007/0.4567, allocations: 385 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4568, allocations: 10.7 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4568, allocations: 4.531 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.4568, allocations: 8.219 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.457, allocations: 35.44 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.457, allocations: 15.53 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.4572, allocations: 39.36 kB / 0.7747 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.4572, allocations: 25.98 kB / 0.7747 GB, free: 14.92 MB / 0.5606 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.000129/0.4573, allocations: 160.1 kB / 0.7749 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.4574, allocations: 13.78 kB / 0.7749 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.4578, allocations: 276.3 kB / 0.7751 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-05/0.4579, allocations: 30.03 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4579, allocations: 0 / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4579, allocations: 2.422 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/0.4588, allocations: 0.6271 MB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4588, allocations: 0.5156 kB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.4588, allocations: 8.234 kB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4588, allocations: 1.438 kB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4588, allocations: 10.48 kB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4589, allocations: 2.812 kB / 0.7758 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4589, allocations: 3.938 kB / 0.7758 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.4592, allocations: 392.8 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.4593, allocations: 97.31 kB / 0.7763 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.4593, allocations: 5.828 kB / 0.7763 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.4594, allocations: 3.5 kB / 0.7763 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.4594, allocations: 20.59 kB / 0.7763 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.4595, allocations: 17.7 kB / 0.7763 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.4595, allocations: 107.9 kB / 0.7764 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4595, allocations: 0 / 0.7764 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003737/0.4599, allocations: 66.7 kB / 0.7765 GB, free: 14.11 MB / 0.5606 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.0002676/0.4602, allocations: 135.7 kB / 0.7766 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.4606, allocations: 289.6 kB / 0.7769 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4606, allocations: 0 / 0.7769 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.4607, allocations: 125.7 kB / 0.777 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.461, allocations: 15.03 kB / 0.777 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.4616, allocations: 467.9 kB / 0.7775 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.4618, allocations: 0.7606 MB / 0.7782 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.4621, allocations: 77.62 kB / 0.7783 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.4622, allocations: 36.89 kB / 0.7783 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.4622, allocations: 0 / 0.7783 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.004211/0.4664, allocations: 1.636 MB / 0.7799 GB, free: 12.99 MB / 0.5606 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)