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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00561/0.00561, allocations: 101.8 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.001283/0.001283, allocations: 194.5 kB / 16.67 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 283.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 99.84 kB / 0.6809 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4652, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002933/0.4682, allocations: 1.595 MB / 0.7674 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.4697, allocations: 0.6793 MB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.4698, allocations: 0 / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.4701, allocations: 66.52 kB / 0.7682 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.4706, allocations: 163.4 kB / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.303e-05/0.4707, allocations: 3.984 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.4709, allocations: 183.3 kB / 0.7685 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.471, allocations: 8.875 kB / 0.7685 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.4712, allocations: 83.61 kB / 0.7686 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4714, allocations: 87.66 kB / 0.7687 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.4714, allocations: 12 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.4716, allocations: 119.8 kB / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.4717, allocations: 71.81 kB / 0.7689 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.4718, allocations: 75.53 kB / 0.7689 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4721, allocations: 247.1 kB / 0.7692 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4721, allocations: 0 / 0.7692 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4722, allocations: 0 / 0.7692 GB, free: 464 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.4722, allocations: 0 / 0.7692 GB, free: 464 kB / 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.0005537/0.4727, allocations: 462.9 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4728, allocations: 15.97 kB / 0.7696 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.4728, allocations: 58.72 kB / 0.7697 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.4729, allocations: 20.66 kB / 0.7697 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.473, allocations: 176.2 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.473, allocations: 16.36 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4731, allocations: 16.3 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.4735, allocations: 367.2 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4735, allocations: 0 / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4736, allocations: 4 kB / 0.7703 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.4737, allocations: 64.28 kB / 0.7703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.474, allocations: 225 kB / 0.7705 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.4753, allocations: 0.987 MB / 0.7715 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.4756, allocations: 211.9 kB / 0.7717 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4757, allocations: 109.2 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.4757, allocations: 0 / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.4758, allocations: 38.56 kB / 0.7718 GB, free: 13.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.4758, allocations: 0 / 0.7718 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005244/0.4763, allocations: 366.6 kB / 0.7722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4764, allocations: 59.34 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4765, allocations: 144.5 kB / 0.7724 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4765, allocations: 33.64 kB / 0.7724 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.4766, allocations: 156.1 kB / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.4767, allocations: 126.1 kB / 0.7727 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.4768, allocations: 81.5 kB / 0.7728 GB, free: 12.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4769, allocations: 330.8 kB / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4771, allocations: 108.5 kB / 0.7732 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.4773, allocations: 230.8 kB / 0.7734 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.4777, allocations: 393.2 kB / 0.7738 GB, free: 11.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4777, allocations: 4 kB / 0.7738 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004966/0.4782, allocations: 388.9 kB / 0.7741 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4783, allocations: 4 kB / 0.7741 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4783, allocations: 4 kB / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4783, allocations: 8 kB / 0.7742 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4784, allocations: 39.86 kB / 0.7742 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4785, allocations: 16.45 kB / 0.7742 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.4786, allocations: 43.52 kB / 0.7743 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.4786, allocations: 24 kB / 0.7743 GB, free: 10.82 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.0001353/0.4788, allocations: 156.1 kB / 0.7744 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.4788, allocations: 15.72 kB / 0.7744 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.4792, allocations: 283.8 kB / 0.7747 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-05/0.4793, allocations: 23.92 kB / 0.7747 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4793, allocations: 3.938 kB / 0.7747 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4793, allocations: 0 / 0.7747 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.4801, allocations: 0.6384 MB / 0.7754 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4801, allocations: 0 / 0.7754 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.4802, allocations: 11.94 kB / 0.7754 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4802, allocations: 0 / 0.7754 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4802, allocations: 11.97 kB / 0.7754 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4802, allocations: 4 kB / 0.7754 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4802, allocations: 0 / 0.7754 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.4806, allocations: 386.6 kB / 0.7758 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.4807, allocations: 100.8 kB / 0.7759 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4807, allocations: 7.984 kB / 0.7759 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.4808, allocations: 8 kB / 0.7759 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.4808, allocations: 11.98 kB / 0.7759 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.4809, allocations: 23.97 kB / 0.7759 GB, free: 9.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.4809, allocations: 106.2 kB / 0.776 GB, free: 8.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4809, allocations: 0 / 0.776 GB, free: 8.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003608/0.4813, allocations: 63.84 kB / 0.7761 GB, free: 8.879 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.0008578/0.4822, allocations: 0.954 MB / 0.777 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.4826, allocations: 284.3 kB / 0.7773 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4826, allocations: 0 / 0.7773 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4828, allocations: 123.9 kB / 0.7774 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.483, allocations: 19.78 kB / 0.7774 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.484, allocations: 0.5337 MB / 0.7779 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4843, allocations: 0.7562 MB / 0.7787 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.4845, allocations: 73.69 kB / 0.7787 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.4847, allocations: 83.39 kB / 0.7788 GB, free: 5.973 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.4847, allocations: 0 / 0.7788 GB, free: 5.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.5059, allocations: 3.853 MB / 0.7826 GB, free: 2.254 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.188, allocations: 16.41 kB / 0.7826 GB, free: 2.238 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)