Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 176.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 90.69 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.007e-05, allocations: 12 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8075, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.9964, allocations: 137.8 MB / 1.108 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.9967, allocations: 67.95 kB / 1.108 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001742/0.9984, allocations: 0.659 MB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9985, allocations: 0 / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.9985, allocations: 0.625 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003636/0.9989, allocations: 329.9 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9989, allocations: 12.03 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.999, allocations: 0.5938 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.9991, allocations: 178.9 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.9992, allocations: 4.688 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.9992, allocations: 0 / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.865e-05/0.9993, allocations: 8.359 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.652e-05/0.9993, allocations: 38.23 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.9994, allocations: 4.5 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.9994, allocations: 0 / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9994, allocations: 0.5312 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.9997, allocations: 234.9 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.9998, allocations: 25.3 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.9998, allocations: 10.89 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.9999, allocations: 0 / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.9999, allocations: 30.56 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.9999, allocations: 3.938 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/1, allocations: 40.83 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1, allocations: 55.41 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/1, allocations: 96.98 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1, allocations: 25.7 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/1, allocations: 80.14 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/1, allocations: 3.906 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/1, allocations: 3.875 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1, allocations: 314.8 kB / 1.11 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/1, allocations: 4 kB / 1.11 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/1.001, allocations: 8 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/1.001, allocations: 11.94 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.001, allocations: 0 / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.867e-05/1.001, allocations: 41.64 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.001, allocations: 4.938 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.001, allocations: 1.156 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.001, allocations: 4 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.001, allocations: 16.45 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.001, allocations: 2.344 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/1.001, allocations: 7.984 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/1.001, allocations: 1.281 kB / 1.11 GB, free: 9.812 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 8.93e-05/1.001, allocations: 108.9 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.409e-05/1.001, allocations: 43.89 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/1.001, allocations: 0 / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.001, allocations: 53.38 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.001, allocations: 2.953 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.001, allocations: 0.8125 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/1.001, allocations: 0 / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/1.001, allocations: 143 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.001, allocations: 0 / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/1.002, allocations: 11.12 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.002, allocations: 0 / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.002, allocations: 0 / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.002, allocations: 0 / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.002, allocations: 7.984 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.002, allocations: 134.6 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/1.002, allocations: 77.11 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.002, allocations: 4 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/1.002, allocations: 12.11 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/1.002, allocations: 0 / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/1.002, allocations: 7.984 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.075e-05/1.002, allocations: 83.89 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.002, allocations: 0 / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000205/1.002, allocations: 15.31 kB / 1.111 GB, free: 9.043 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0005405/1.003, allocations: 0.6721 MB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.64e-05/1.003, allocations: 12 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.003, allocations: 0 / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/1.003, allocations: 16.03 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/1.003, allocations: 0 / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/1.004, allocations: 100.2 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/1.004, allocations: 0.6768 MB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.848e-05/1.004, allocations: 0 / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/1.004, allocations: 11.44 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.004, allocations: 0 / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/1.023, allocations: 0.6922 MB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.023, allocations: 141.7 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.565, allocations: 0 / 1.113 GB, free: 6.629 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)