Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 186 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 90.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 15.64 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.3731, allocations: 131.4 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.3734, allocations: 71.95 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001698/0.3751, allocations: 0.6687 MB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3751, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.3751, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 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.000311/0.3755, allocations: 347.2 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3755, allocations: 11.97 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.3755, allocations: 30.56 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.3756, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3757, allocations: 178.9 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3757, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3757, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3759, allocations: 41.69 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.3759, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3759, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3759, allocations: 3.938 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.376, allocations: 15.98 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.3761, allocations: 157.6 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.3762, allocations: 26.61 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3762, allocations: 7.984 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3763, allocations: 30.56 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3763, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002442/0.3765, allocations: 57.69 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3766, allocations: 55.41 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.3766, allocations: 97.11 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3767, allocations: 25.7 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.3767, allocations: 84.14 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3767, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.3767, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3769, allocations: 314.8 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.3769, allocations: 11.98 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.377, allocations: 12 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.377, allocations: 7.984 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.377, allocations: 7.953 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001031/0.3771, allocations: 53.62 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3771, allocations: 4 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3772, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3772, allocations: 8.031 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.3772, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3773, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.3773, allocations: 11.89 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3773, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 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 () * Number of clocked 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 7.126e-05/0.3774, allocations: 105.8 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.3774, allocations: 7.953 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.3774, allocations: 7.125 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.3774, allocations: 4 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3774, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3775, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.3776, allocations: 153.6 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3776, allocations: 3.984 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.3776, allocations: 7.953 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3776, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3776, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3776, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3776, allocations: 4 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3778, allocations: 85.3 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.3778, allocations: 77.11 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3778, allocations: 7.953 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.3779, allocations: 4 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3779, allocations: 0 / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3779, allocations: 4.031 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.378, allocations: 83.27 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.378, allocations: 0 / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001652/0.3781, allocations: 4 kB / 1.031 GB, free: 9.016 MB / 0.6823 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 () * Number of clocked 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.000397/0.3785, allocations: 0.6169 MB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3787, allocations: 15.98 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3787, allocations: 0 / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.3787, allocations: 15.98 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.445e-05/0.3788, allocations: 11.33 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3792, allocations: 150.3 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3794, allocations: 0.6809 MB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3794, allocations: 0 / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3795, allocations: 11.42 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3795, allocations: 3.938 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009752/0.3892, allocations: 0.8962 MB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.3894, allocations: 205.8 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.831, allocations: 1.562 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)