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.68/1.68, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001398/0.001398, allocations: 195.4 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008931/0.000893, allocations: 85.75 kB / 0.7509 GB, free: 62.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004073, allocations: 16 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/0.9341, allocations: 138.5 MB / 1.124 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.9344, allocations: 76.03 kB / 1.124 GB, free: 35.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001631/0.936, allocations: 0.656 MB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/0.936, allocations: 0.9062 kB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.936, allocations: 0 / 1.124 GB, free: 35.36 MB / 0.7292 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.0002894/0.9363, allocations: 337.2 kB / 1.125 GB, free: 35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.9364, allocations: 12.02 kB / 1.125 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.9365, allocations: 36.97 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.9365, allocations: 7.062 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.361e-05/0.9366, allocations: 167.8 kB / 1.125 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9366, allocations: 0.5156 kB / 1.125 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.9366, allocations: 6.656 kB / 1.125 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.9368, allocations: 37.22 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9368, allocations: 0 / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.9368, allocations: 1.359 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9368, allocations: 0 / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.9369, allocations: 18.61 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.937, allocations: 156.9 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.292e-05/0.9371, allocations: 31.55 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.9371, allocations: 0 / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.9371, allocations: 34.56 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.9371, allocations: 0 / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/0.9374, allocations: 59.11 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.9374, allocations: 51.97 kB / 1.125 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.9374, allocations: 105.6 kB / 1.125 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.9375, allocations: 29.83 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.9375, allocations: 80.14 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.9375, allocations: 3.906 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.9375, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.9376, allocations: 326.9 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.9376, allocations: 4 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.9377, allocations: 11.42 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.9377, allocations: 8.062 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9377, allocations: 0 / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.212e-05/0.9378, allocations: 56.73 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9378, allocations: 8.938 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9378, allocations: 0 / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9379, allocations: 0.5625 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.9379, allocations: 8.031 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.9379, allocations: 0 / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.938, allocations: 4 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.938, allocations: 7.859 kB / 1.126 GB, free: 33.65 MB / 0.7292 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 4.751e-05/0.938, allocations: 109.8 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.9381, allocations: 9.406 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.9381, allocations: 3.125 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.9381, allocations: 0 / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9381, allocations: 4 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9381, allocations: 0.5625 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.959e-05/0.9382, allocations: 153.1 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9382, allocations: 3.469 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.9382, allocations: 5.281 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.9382, allocations: 3.953 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.9382, allocations: 0.75 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9382, allocations: 0 / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9383, allocations: 0 / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.9384, allocations: 80.44 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.9384, allocations: 81.02 kB / 1.126 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.9384, allocations: 4.797 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.664e-05/0.9384, allocations: 4 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.9385, allocations: 8.047 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.9385, allocations: 0 / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.21e-05/0.9385, allocations: 87.81 kB / 1.126 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9385, allocations: 0 / 1.126 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001733/0.9387, allocations: 4 kB / 1.127 GB, free: 33.03 MB / 0.7292 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.0002807/0.939, allocations: 0.6109 MB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.9391, allocations: 23.27 kB / 1.127 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9391, allocations: 0 / 1.127 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.9392, allocations: 15.27 kB / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.801e-05/0.9393, allocations: 3.953 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.9396, allocations: 150.3 kB / 1.127 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.9397, allocations: 0.6774 MB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.9398, allocations: 4 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.9398, allocations: 7.438 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.9398, allocations: 0 / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.9508, allocations: 0.894 MB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.951, allocations: 182.5 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.475, allocations: 3.938 kB / 1.129 GB, free: 30.79 MB / 0.7292 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)