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.569/1.569, allocations: 285.4 MB / 298 MB, free: 5.941 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.001774/0.001774, allocations: 172.9 kB / 366.4 MB, free: 2.102 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.858/1.858, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.001069/0.001069, allocations: 94.09 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.064e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7824, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.9865, allocations: 137.5 MB / 1.105 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9868, allocations: 71.95 kB / 1.105 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001799/0.9886, allocations: 0.663 MB / 1.106 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9887, allocations: 0 / 1.106 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.9887, allocations: 0 / 1.106 GB, free: 13.6 MB / 0.7136 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.0003044/0.989, allocations: 320.2 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.989, allocations: 8.875 kB / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.9891, allocations: 34.56 kB / 1.106 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.9891, allocations: 0 / 1.106 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.9893, allocations: 184 kB / 1.106 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9893, allocations: 0 / 1.106 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.9893, allocations: 0 / 1.106 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/0.9894, allocations: 34.95 kB / 1.107 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.9894, allocations: 0 / 1.107 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.9894, allocations: 0 / 1.107 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9894, allocations: 0 / 1.107 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.9895, allocations: 8 kB / 1.107 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.9897, allocations: 157.7 kB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.9897, allocations: 19.39 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.9897, allocations: 15.12 kB / 1.107 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.9898, allocations: 0 / 1.107 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.9898, allocations: 34.56 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9898, allocations: 3.844 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.9899, allocations: 34.3 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.99, allocations: 52.06 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.9901, allocations: 100.5 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.9901, allocations: 25.7 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.9902, allocations: 84.7 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.9902, allocations: 4.594 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.9902, allocations: 0.5938 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9903, allocations: 316.7 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.9903, allocations: 4 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.9904, allocations: 0 / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.9904, allocations: 8 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9904, allocations: 2.312 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.632e-05/0.9905, allocations: 45.55 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.9905, allocations: 4 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9905, allocations: 0 / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.9905, allocations: 0 / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.9906, allocations: 4.719 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9906, allocations: 2.5 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.9907, allocations: 11.27 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.9907, allocations: 0 / 1.107 GB, free: 11.93 MB / 0.7136 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 7.086e-05/0.9908, allocations: 105.6 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.9908, allocations: 15.88 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.9908, allocations: 7.125 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.9908, allocations: 0 / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9908, allocations: 0.5625 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.9908, allocations: 0.5 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.991, allocations: 153.7 kB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.991, allocations: 1.188 kB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.991, allocations: 7.984 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.991, allocations: 6.891 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.991, allocations: 0 / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9911, allocations: 0.875 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9911, allocations: 0 / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.946e-05/0.9911, allocations: 62.19 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.9912, allocations: 81.98 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.9912, allocations: 6.266 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.9913, allocations: 5.031 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.9913, allocations: 0 / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.9913, allocations: 2 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.9913, allocations: 87.2 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9914, allocations: 1.781 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001847/0.9915, allocations: 4 kB / 1.108 GB, free: 11.31 MB / 0.7136 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.0003289/0.9919, allocations: 0.6022 MB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.992, allocations: 8 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.992, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.992, allocations: 11.94 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.273e-05/0.9921, allocations: 8.109 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.9924, allocations: 88.98 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.9926, allocations: 0.677 MB / 1.109 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.9926, allocations: 0 / 1.109 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.9927, allocations: 7.438 kB / 1.109 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.9927, allocations: 0 / 1.109 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/1.004, allocations: 0.9102 MB / 1.11 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.004, allocations: 175.2 kB / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.441, allocations: 0 / 1.11 GB, free: 8.879 MB / 0.7136 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)