Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001155/0.001155, allocations: 177.5 kB / 371.8 MB, free: 10.28 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.76/1.76, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 103.6 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 13.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6913/0.924, allocations: 137.5 MB / 1.114 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9243, allocations: 71.5 kB / 1.114 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002401/0.9267, allocations: 0.657 MB / 1.115 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/0.9267, allocations: 3.906 kB / 1.115 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.9268, allocations: 4 kB / 1.115 GB, free: 31.98 MB / 0.698 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.0003662/0.9271, allocations: 330.2 kB / 1.115 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.9272, allocations: 15.61 kB / 1.115 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.9273, allocations: 34.5 kB / 1.115 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.9273, allocations: 3.906 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.9274, allocations: 169.8 kB / 1.115 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.9275, allocations: 0 / 1.115 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.9275, allocations: 0 / 1.115 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.9276, allocations: 43.92 kB / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.9277, allocations: 0 / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.9277, allocations: 0 / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.9277, allocations: 0 / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.9278, allocations: 18.75 kB / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.928, allocations: 160 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.928, allocations: 29.98 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.9281, allocations: 0 / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.9281, allocations: 30.56 kB / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.9281, allocations: 0 / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.00023/0.9283, allocations: 66.59 kB / 1.115 GB, free: 31.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.9284, allocations: 57.48 kB / 1.115 GB, free: 30.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.9284, allocations: 94.97 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.9285, allocations: 25.7 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.9285, allocations: 87.48 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.9285, allocations: 3.906 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.9286, allocations: 0 / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9287, allocations: 314.3 kB / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.9287, allocations: 11.72 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.9288, allocations: 10.45 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.9288, allocations: 7.719 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9288, allocations: 0 / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.9289, allocations: 62.78 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.929, allocations: 7.688 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.929, allocations: 0 / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.929, allocations: 0 / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.9291, allocations: 7.188 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9291, allocations: 0 / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.9291, allocations: 3.875 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.9291, allocations: 0 / 1.116 GB, free: 30.41 MB / 0.698 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 8.133e-05/0.9292, allocations: 105.8 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.9292, allocations: 11.8 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.9293, allocations: 9.391 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9293, allocations: 0 / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9293, allocations: 0 / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9293, allocations: 0 / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.9294, allocations: 153.9 kB / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9294, allocations: 3.938 kB / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.9295, allocations: 7.469 kB / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9295, allocations: 3.953 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.9295, allocations: 0 / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.9295, allocations: 4 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9295, allocations: 0 / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.9296, allocations: 82.73 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.9297, allocations: 81.02 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.9297, allocations: 3.953 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.9297, allocations: 7.906 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.9297, allocations: 0 / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.9298, allocations: 3.281 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.9298, allocations: 82.53 kB / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.673e-06/0.9298, allocations: 0 / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001903/0.93, allocations: 4.422 kB / 1.117 GB, free: 29.84 MB / 0.698 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.0004129/0.9304, allocations: 0.614 MB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.9305, allocations: 21.78 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9305, allocations: 0 / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.9306, allocations: 15.34 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.9307, allocations: 7.891 kB / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.931, allocations: 138.7 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.9313, allocations: 0.6802 MB / 1.118 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.9313, allocations: 7 kB / 1.118 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.9314, allocations: 7.5 kB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.263e-06/0.9314, allocations: 4 kB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.942, allocations: 0.8989 MB / 1.119 GB, free: 28.27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.9422, allocations: 203.7 kB / 1.119 GB, free: 28.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.447, allocations: 0 / 1.119 GB, free: 28.03 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)