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.479/2.479, allocations: 284.7 MB / 297.2 MB, free: 6.344 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.001657/0.001657, allocations: 184.9 kB / 365.6 MB, free: 2.629 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.125/2.125, allocations: 205.1 MB / 0.624 GB, free: 8.246 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.001116/0.001115, allocations: 98.83 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.806e-05, allocations: 8 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8502, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/1.137, allocations: 137.3 MB / 1.104 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/1.138, allocations: 72.73 kB / 1.104 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003772/1.142, allocations: 0.6582 MB / 1.105 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.665e-06/1.142, allocations: 3.938 kB / 1.105 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.142, allocations: 0 / 1.105 GB, free: 14.4 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.0005114/1.142, allocations: 330.3 kB / 1.105 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/1.142, allocations: 8.031 kB / 1.105 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/1.142, allocations: 31.69 kB / 1.105 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/1.143, allocations: 5.203 kB / 1.105 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/1.143, allocations: 174.8 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.143, allocations: 0.5625 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/1.143, allocations: 1.438 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/1.143, allocations: 33.69 kB / 1.105 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.143, allocations: 0 / 1.105 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.143, allocations: 2.094 kB / 1.105 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.143, allocations: 0 / 1.105 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/1.143, allocations: 8 kB / 1.105 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/1.143, allocations: 157.7 kB / 1.105 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/1.144, allocations: 24.39 kB / 1.106 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/1.144, allocations: 4.859 kB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/1.144, allocations: 0.9375 kB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.144, allocations: 38.41 kB / 1.106 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 6.151e-06/1.144, allocations: 3.984 kB / 1.106 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002327/1.144, allocations: 37.75 kB / 1.106 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.144, allocations: 51.41 kB / 1.106 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.144, allocations: 98.88 kB / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/1.144, allocations: 25.7 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/1.144, allocations: 80.14 kB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/1.144, allocations: 4 kB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/1.144, allocations: 3.25 kB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.145, allocations: 316.1 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/1.145, allocations: 7.938 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/1.145, allocations: 0 / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/1.145, allocations: 11.95 kB / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.145, allocations: 0 / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001801/1.145, allocations: 38.77 kB / 1.106 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.145, allocations: 4 kB / 1.106 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.145, allocations: 0 / 1.106 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.145, allocations: 4.844 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.145, allocations: 7.984 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.145, allocations: 0.5312 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/1.146, allocations: 4.688 kB / 1.106 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.146, allocations: 2.438 kB / 1.106 GB, free: 12.72 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 0.0001355/1.146, allocations: 115.7 kB / 1.106 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/1.146, allocations: 3 kB / 1.106 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/1.146, allocations: 7.109 kB / 1.106 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.146, allocations: 0 / 1.106 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.146, allocations: 7.531 kB / 1.106 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.146, allocations: 0 / 1.106 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/1.146, allocations: 153.7 kB / 1.106 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.146, allocations: 4.609 kB / 1.106 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/1.146, allocations: 7.375 kB / 1.106 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.146, allocations: 0 / 1.106 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.146, allocations: 4 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/1.146, allocations: 0 / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.146, allocations: 3.984 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/1.147, allocations: 57.14 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/1.147, allocations: 83.88 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/1.147, allocations: 0 / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/1.147, allocations: 7.984 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/1.147, allocations: 0 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.147, allocations: 0 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.486e-05/1.147, allocations: 83.28 kB / 1.107 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.182e-06/1.147, allocations: 4.156 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003979/1.147, allocations: 4 kB / 1.107 GB, free: 12.11 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.0006772/1.148, allocations: 0.602 MB / 1.107 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001374/1.148, allocations: 12 kB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.148, allocations: 4.094 kB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/1.148, allocations: 11.92 kB / 1.107 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/1.149, allocations: 0 / 1.107 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/1.149, allocations: 88.98 kB / 1.107 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/1.15, allocations: 0.6731 MB / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.612e-05/1.15, allocations: 3.984 kB / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/1.15, allocations: 8.375 kB / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/1.15, allocations: 0 / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/1.173, allocations: 0.8982 MB / 1.109 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/1.174, allocations: 173.7 kB / 1.109 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.518, allocations: 0.75 kB / 1.109 GB, free: 9.703 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)