Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.643/2.643, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001571/0.001571, allocations: 188.8 kB / 360.6 MB, free: 7.297 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.106/2.106, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001168/0.001168, allocations: 88.83 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.69e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8598, allocations: 115.3 MB / 0.9634 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2611/1.121, allocations: 136.6 MB / 1.097 GB, free: 3.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.121, allocations: 73.22 kB / 1.097 GB, free: 3.863 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002322/1.124, allocations: 0.659 MB / 1.098 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.402e-06/1.124, allocations: 0 / 1.098 GB, free: 3.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.124, allocations: 0.8438 kB / 1.098 GB, free: 3.219 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.0003929/1.124, allocations: 325.6 kB / 1.098 GB, free: 2.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/1.124, allocations: 12.56 kB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/1.124, allocations: 1.703 kB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.125, allocations: 175.4 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.125, allocations: 0 / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/1.125, allocations: 1.062 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.631e-05/1.125, allocations: 10.31 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/1.125, allocations: 34.19 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.125, allocations: 0.5938 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.125, allocations: 2.734 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.125, allocations: 0.75 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/1.125, allocations: 137.2 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/1.125, allocations: 22.61 kB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/1.125, allocations: 5.703 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.125, allocations: 0.5 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.125, allocations: 39.34 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.823e-06/1.125, allocations: 0 / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/1.125, allocations: 38.31 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.126, allocations: 52.25 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/1.126, allocations: 93.72 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.126, allocations: 26.73 kB / 1.099 GB, free: 2.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/1.126, allocations: 84.77 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/1.126, allocations: 0.5 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.126, allocations: 0.5625 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.126, allocations: 315.6 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/1.126, allocations: 8 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/1.126, allocations: 0.5312 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/1.126, allocations: 4.656 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.126, allocations: 0.5625 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.343e-05/1.126, allocations: 46.44 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.126, allocations: 8 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.126, allocations: 2.219 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.126, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/1.126, allocations: 12.61 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/1.126, allocations: 0 / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/1.126, allocations: 4.969 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.126, allocations: 0 / 1.099 GB, free: 1.617 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 () * 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.247e-05/1.127, allocations: 107.7 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.994e-05/1.127, allocations: 41.64 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/1.127, allocations: 2.938 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/1.127, allocations: 7.75 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.127, allocations: 0 / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.127, allocations: 4 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/1.127, allocations: 0.625 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/1.127, allocations: 126.4 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.127, allocations: 4 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/1.127, allocations: 11.94 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.127, allocations: 8.5 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.127, allocations: 1.406 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.127, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.127, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/1.127, allocations: 57.14 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/1.127, allocations: 89.03 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/1.127, allocations: 7.422 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/1.127, allocations: 4 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/1.127, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/1.127, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.554e-05/1.127, allocations: 85.97 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.127, allocations: 0 / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002318/1.128, allocations: 4 kB / 1.1 GB, free: 0.9922 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 () * 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.0004342/1.128, allocations: 0.5978 MB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.514e-05/1.128, allocations: 11.98 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.128, allocations: 0 / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/1.128, allocations: 4 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/1.128, allocations: 11.08 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/1.129, allocations: 92 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.129, allocations: 0.6768 MB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.546e-05/1.129, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/1.129, allocations: 7.438 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.129, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/1.166, allocations: 0.5844 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.167, allocations: 151.8 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.47, allocations: 7.938 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)