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.94/1.94, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001159/0.001159, allocations: 184.5 kB / 371.6 MB, free: 3.348 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.742/1.742, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000899/0.000899, allocations: 86.78 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.599e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2791, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.232, allocations: 138.5 MB / 1.115 GB, free: 44.94 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/1.232, allocations: 65.14 kB / 1.115 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001526/1.234, allocations: 0.6649 MB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/1.234, allocations: 0.5938 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.234, allocations: 0.7812 kB / 1.116 GB, free: 44.41 MB / 0.7448 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.0002653/1.234, allocations: 329.8 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.234, allocations: 12.66 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/1.234, allocations: 42.97 kB / 1.116 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/1.234, allocations: 3.75 kB / 1.116 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/1.234, allocations: 165.8 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.234, allocations: 3.266 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.234, allocations: 1 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/1.234, allocations: 37.48 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/1.234, allocations: 0 / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/1.234, allocations: 7.141 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/1.234, allocations: 0 / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/1.234, allocations: 6.938 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/1.234, allocations: 257.3 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/1.235, allocations: 31.22 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/1.235, allocations: 8.922 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.235, allocations: 0 / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/1.235, allocations: 30.56 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/1.235, allocations: 0 / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/1.235, allocations: 54.2 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/1.235, allocations: 51.41 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.359e-05/1.235, allocations: 93.03 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/1.235, allocations: 25.7 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/1.235, allocations: 87.09 kB / 1.117 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/1.235, allocations: 8.688 kB / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/1.235, allocations: 0 / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/1.235, allocations: 318.3 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/1.235, allocations: 7.312 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/1.235, allocations: 0 / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/1.235, allocations: 11.19 kB / 1.117 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.235, allocations: 0 / 1.117 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.513e-05/1.235, allocations: 40.39 kB / 1.117 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.235, allocations: 4 kB / 1.117 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.235, allocations: 7.406 kB / 1.117 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.235, allocations: 1.125 kB / 1.117 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/1.235, allocations: 9.172 kB / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.235, allocations: 4 kB / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/1.235, allocations: 15.3 kB / 1.117 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/1.235, allocations: 0 / 1.117 GB, free: 42.67 MB / 0.7448 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 4.198e-05/1.235, allocations: 108.9 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/1.235, allocations: 0 / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/1.236, allocations: 51.3 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.236, allocations: 1.219 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.236, allocations: 4 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.236, allocations: 0 / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/1.236, allocations: 163 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.236, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/1.236, allocations: 15.5 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.236, allocations: 0.6562 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/1.236, allocations: 0.75 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/1.236, allocations: 0 / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.236, allocations: 3.469 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.806e-05/1.236, allocations: 145.5 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/1.236, allocations: 77.11 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/1.236, allocations: 11.42 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/1.236, allocations: 5.031 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/1.236, allocations: 3.516 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/1.236, allocations: 4 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.689e-05/1.236, allocations: 83.92 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.236, allocations: 0 / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001949/1.236, allocations: 8.031 kB / 1.118 GB, free: 41.96 MB / 0.7448 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.0002462/1.237, allocations: 0.6732 MB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.427e-05/1.237, allocations: 11.12 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.237, allocations: 96 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/1.237, allocations: 15.88 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/1.237, allocations: 9.047 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/1.237, allocations: 86.94 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/1.237, allocations: 0.6763 MB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.118e-05/1.237, allocations: 0 / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/1.237, allocations: 14.5 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.237, allocations: 3.609 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/1.248, allocations: 1.007 MB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.248, allocations: 148 kB / 1.121 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.778, allocations: 0 / 1.121 GB, free: 39.68 MB / 0.7448 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)