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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.726/0.726, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 182.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 96.86 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 282.2 kB / 0.594 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3557, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4641, allocations: 110.6 MB / 0.8724 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4643, allocations: 67.97 kB / 0.8725 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.4782, allocations: 5.385 MB / 0.8777 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4783, allocations: 0 / 0.8777 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.4783, allocations: 0 / 0.8777 GB, free: 8.477 MB / 0.5417 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.0003877/0.4787, allocations: 450.5 kB / 0.8781 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4787, allocations: 8.031 kB / 0.8782 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.908e-05/0.4788, allocations: 58.55 kB / 0.8782 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.4789, allocations: 27.72 kB / 0.8782 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.479, allocations: 183 kB / 0.8784 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.479, allocations: 28.52 kB / 0.8784 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.4791, allocations: 32 kB / 0.8785 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.4798, allocations: 486.8 kB / 0.8789 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4798, allocations: 0 / 0.8789 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.4799, allocations: 8 kB / 0.8789 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4799, allocations: 12 kB / 0.879 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.4815, allocations: 1.161 MB / 0.8801 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4832, allocations: 1.308 MB / 0.8814 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.4836, allocations: 247.8 kB / 0.8816 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.4837, allocations: 113.5 kB / 0.8817 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.4935, allocations: 5.499 MB / 0.8871 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4936, allocations: 38.56 kB / 0.8871 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 3.376e-06/0.4936, allocations: 0 / 0.8871 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30): time 0.0004807/0.4941, allocations: 254.8 kB / 0.8874 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4941, allocations: 55.41 kB / 0.8874 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.4943, allocations: 164.3 kB / 0.8876 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4943, allocations: 29.7 kB / 0.8876 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.4944, allocations: 179.6 kB / 0.8878 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.4945, allocations: 110.5 kB / 0.8879 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.4946, allocations: 12 kB / 0.8879 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4947, allocations: 330.8 kB / 0.8882 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.4949, allocations: 93.09 kB / 0.8883 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.4952, allocations: 277.4 kB / 0.8886 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.4954, allocations: 160 kB / 0.8887 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4954, allocations: 4 kB / 0.8887 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006669/0.4961, allocations: 433 kB / 0.8891 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4961, allocations: 8 kB / 0.8891 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4962, allocations: 4 kB / 0.8891 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.4962, allocations: 12 kB / 0.8891 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.4966, allocations: 123.8 kB / 0.8893 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.4966, allocations: 11.94 kB / 0.8893 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4968, allocations: 52.03 kB / 0.8893 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.4969, allocations: 59.97 kB / 0.8894 GB, free: 11.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.497, allocations: 138.1 kB / 0.8895 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.4971, allocations: 15.81 kB / 0.8895 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.4977, allocations: 309.7 kB / 0.8898 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4977, allocations: 4 kB / 0.8898 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4977, allocations: 7.984 kB / 0.8898 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4977, allocations: 3.938 kB / 0.8898 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.498, allocations: 289.4 kB / 0.8901 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.498, allocations: 3.953 kB / 0.8901 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4983, allocations: 79.94 kB / 0.8902 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4983, allocations: 0 / 0.8902 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4983, allocations: 19.98 kB / 0.8902 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4984, allocations: 3.938 kB / 0.8902 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4984, allocations: 3.938 kB / 0.8902 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.4988, allocations: 363.2 kB / 0.8906 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.4989, allocations: 104.8 kB / 0.8907 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4989, allocations: 4 kB / 0.8907 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4991, allocations: 19.92 kB / 0.8907 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4991, allocations: 27.95 kB / 0.8907 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.4992, allocations: 47.97 kB / 0.8908 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.814e-05/0.4993, allocations: 116.1 kB / 0.8909 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4993, allocations: 0 / 0.8909 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004482/0.4998, allocations: 95.83 kB / 0.891 GB, free: 9.781 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009218/0.5007, allocations: 0.9757 MB / 0.8919 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.5011, allocations: 277.1 kB / 0.8922 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5011, allocations: 0 / 0.8922 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.5013, allocations: 127.8 kB / 0.8923 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.5015, allocations: 12.19 kB / 0.8923 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.5023, allocations: 420.7 kB / 0.8927 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.5026, allocations: 0.7566 MB / 0.8935 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.5033, allocations: 225.8 kB / 0.8937 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5036, allocations: 107.4 kB / 0.8938 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of SimCode: time 3.6e-07/0.5036, allocations: 0 / 0.8938 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.5204, allocations: 5.441 MB / 0.8991 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.5206, allocations: 174.6 kB / 0.8993 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.064, allocations: 0 / 0.8993 GB, free: 1.336 MB / 0.5573 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/linux/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)