Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",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.7946/0.7946, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 184.8 kB / 182.2 MB, free: 9.465 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.439/1.439, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001003/0.001003, allocations: 87.86 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 276.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.987e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4539, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5922, allocations: 107.2 MB / 0.8621 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5924, allocations: 73.55 kB / 0.8622 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004643/0.5929, allocations: 368.9 kB / 0.8625 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5929, allocations: 3.938 kB / 0.8625 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.593, allocations: 1.625 kB / 0.8625 GB, free: 4.164 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002355/0.5932, allocations: 306.5 kB / 0.8628 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5933, allocations: 16.03 kB / 0.8628 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.5933, allocations: 0 / 0.8628 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.5934, allocations: 163.1 kB / 0.863 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5934, allocations: 3.953 kB / 0.863 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.5934, allocations: 0 / 0.863 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.121e-05/0.5935, allocations: 4 kB / 0.863 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.113e-05/0.5935, allocations: 25.7 kB / 0.863 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5936, allocations: 0 / 0.863 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.5936, allocations: 0 / 0.863 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5936, allocations: 0 / 0.863 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.5937, allocations: 133.2 kB / 0.8632 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.5937, allocations: 30.55 kB / 0.8632 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.5938, allocations: 4.859 kB / 0.8632 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.5938, allocations: 0 / 0.8632 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5938, allocations: 42.52 kB / 0.8632 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.5938, allocations: 0 / 0.8632 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 9.778e-05/0.5939, allocations: 29.7 kB / 0.8633 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.594, allocations: 55.44 kB / 0.8633 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.069e-05/0.594, allocations: 85 kB / 0.8634 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.594, allocations: 25.7 kB / 0.8634 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.5941, allocations: 80.14 kB / 0.8635 GB, free: 3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5941, allocations: 4 kB / 0.8635 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/0.5941, allocations: 0 / 0.8635 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5942, allocations: 310.8 kB / 0.8638 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.5942, allocations: 4 kB / 0.8638 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-06/0.5942, allocations: 0 / 0.8638 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.689e-05/0.5942, allocations: 11.98 kB / 0.8638 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5943, allocations: 0 / 0.8638 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.168e-05/0.5943, allocations: 29.7 kB / 0.8638 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5943, allocations: 8 kB / 0.8638 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5943, allocations: 0 / 0.8638 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5943, allocations: 3.953 kB / 0.8638 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.5944, allocations: 3.984 kB / 0.8639 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5944, allocations: 3.938 kB / 0.8639 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.5944, allocations: 0 / 0.8639 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.5944, allocations: 8.031 kB / 0.8639 GB, free: 2.605 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.255e-05/0.5945, allocations: 101 kB / 0.864 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 3.531e-05/0.5945, allocations: 37.62 kB / 0.864 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.5946, allocations: 7.859 kB / 0.864 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.5946, allocations: 3.75 kB / 0.864 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.5946, allocations: 0 / 0.864 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5946, allocations: 4 kB / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5946, allocations: 0 / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.126e-05/0.5947, allocations: 126.2 kB / 0.8641 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.5947, allocations: 4.031 kB / 0.8641 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.5947, allocations: 3.984 kB / 0.8641 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.5947, allocations: 0 / 0.8641 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.5947, allocations: 4 kB / 0.8641 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5947, allocations: 3.953 kB / 0.8641 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5947, allocations: 0 / 0.8641 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.167e-05/0.5948, allocations: 49.14 kB / 0.8642 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.5948, allocations: 77.11 kB / 0.8643 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.5948, allocations: 8.016 kB / 0.8643 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-06/0.5948, allocations: 4 kB / 0.8643 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.5949, allocations: 3.953 kB / 0.8643 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.5949, allocations: 0 / 0.8643 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.5949, allocations: 79.22 kB / 0.8644 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.823e-06/0.5949, allocations: 0 / 0.8644 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001627/0.5951, allocations: 3.938 kB / 0.8644 GB, free: 2.008 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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.0002615/0.5953, allocations: 0.5891 MB / 0.8649 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.5954, allocations: 4 kB / 0.8649 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5954, allocations: 0 / 0.8649 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.5954, allocations: 4 kB / 0.8649 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.5955, allocations: 7.953 kB / 0.865 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.5958, allocations: 79.27 kB / 0.865 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.596, allocations: 0.6729 MB / 0.8657 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.596, allocations: 0 / 0.8657 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.5961, allocations: 11.44 kB / 0.8657 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5961, allocations: 0 / 0.8657 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.6131, allocations: 417.2 kB / 0.8661 GB, free: 156 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/0.6134, allocations: 142 kB / 0.8662 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.147, allocations: 0 / 0.8662 GB, free: 15.96 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)