Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.766/1.766, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001409/0.001409, allocations: 179.9 kB / 371.6 MB, free: 3.371 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.801/1.801, 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.0009804/0.0009803, allocations: 93.78 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.629e-05/4.633e-05, allocations: 4 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.203, allocations: 138.4 MB / 1.115 GB, free: 45.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.203, allocations: 73.77 kB / 1.115 GB, free: 45.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001814/1.205, allocations: 0.6514 MB / 1.116 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/1.205, allocations: 1 kB / 1.116 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.205, allocations: 0 / 1.116 GB, free: 44.6 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002982/1.205, allocations: 329.2 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.205, allocations: 8.594 kB / 1.116 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/1.206, allocations: 31.5 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/1.206, allocations: 7.75 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.206, allocations: 167 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.206, allocations: 3.797 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.206, allocations: 0.625 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.206, allocations: 33.52 kB / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.206, allocations: 5.094 kB / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.206, allocations: 0 / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.206, allocations: 1.078 kB / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/1.206, allocations: 8.719 kB / 1.116 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/1.206, allocations: 157.3 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/1.206, allocations: 19.55 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/1.206, allocations: 12.77 kB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/1.206, allocations: 3.781 kB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.206, allocations: 30.56 kB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.206, allocations: 64 / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/1.206, allocations: 39.98 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.206, allocations: 51.41 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/1.206, allocations: 103.7 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/1.207, allocations: 25.7 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/1.207, allocations: 85.98 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/1.207, allocations: 0.5625 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/1.207, allocations: 0 / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/1.207, allocations: 310.8 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/1.207, allocations: 8.156 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/1.207, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/1.207, allocations: 11.52 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.207, allocations: 0.9375 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.496e-05/1.207, allocations: 46.12 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.207, allocations: 4 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.207, allocations: 0.9375 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.207, allocations: 0 / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/1.207, allocations: 7.938 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.207, allocations: 0 / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/1.207, allocations: 4 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/1.207, allocations: 4.031 kB / 1.117 GB, free: 42.98 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 (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 4.923e-05/1.207, allocations: 109.3 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/1.207, allocations: 8.422 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/1.207, allocations: 6.594 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/1.207, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.207, allocations: 0.625 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/1.207, allocations: 1.266 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.457e-05/1.207, allocations: 152.1 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.207, allocations: 0.8438 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/1.207, allocations: 12.06 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.207, allocations: 3.953 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.207, allocations: 7.875 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.207, allocations: 0.625 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.207, allocations: 0 / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/1.207, allocations: 67.27 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/1.207, allocations: 77.11 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/1.207, allocations: 7.984 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/1.207, allocations: 6.031 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/1.208, allocations: 3.469 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/1.208, allocations: 0 / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.624e-05/1.208, allocations: 79.28 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.208, allocations: 0 / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002173/1.208, allocations: 4 kB / 1.118 GB, free: 42.39 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 (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.0002746/1.208, allocations: 0.6026 MB / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.665e-05/1.208, allocations: 8.625 kB / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.208, allocations: 0 / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/1.208, allocations: 4 kB / 1.118 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/1.208, allocations: 5.203 kB / 1.118 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/1.209, allocations: 90.23 kB / 1.118 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/1.209, allocations: 0.6795 MB / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.736e-05/1.209, allocations: 0.6094 kB / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/1.209, allocations: 15.31 kB / 1.119 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.209, allocations: 0 / 1.119 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/1.22, allocations: 0.897 MB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.221, allocations: 163.6 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.696, allocations: 3.938 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)