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.838/1.838, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.00102/0.00102, allocations: 182.7 kB / 372 MB, free: 10.3 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.459/1.459, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007077/0.0007078, allocations: 83.86 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 13.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0006786/0.1759, allocations: 338.2 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007255/0.1767, allocations: 0.7971 MB / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.1767, allocations: 0 / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.1767, allocations: 8 kB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.1768, allocations: 7.875 kB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1769, allocations: 3.984 kB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.177, allocations: 15.94 kB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.177, allocations: 0 / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.1771, allocations: 19.92 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.1772, allocations: 7.984 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1772, allocations: 3.938 kB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.1772, allocations: 0 / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.1772, allocations: 4 kB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1773, allocations: 29.7 kB / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.036e-05/0.1773, allocations: 15.91 kB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1773, allocations: 4 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1773, allocations: 0 / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1773, allocations: 0 / 0.9809 GB, free: 26.31 MB / 0.6198 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.0003077/0.1776, allocations: 327.5 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1777, allocations: 12.02 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.1777, allocations: 30.56 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1778, allocations: 8 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.1778, allocations: 167 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1779, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1779, allocations: 7.984 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.178, allocations: 33.7 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.178, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.178, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.178, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.1781, allocations: 27.91 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.1782, allocations: 157.6 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.1783, allocations: 30.59 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.1783, allocations: 12.92 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1784, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.1784, allocations: 34.56 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1784, allocations: 0 / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000187/0.1786, allocations: 61.61 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.1786, allocations: 51.41 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.1787, allocations: 106 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1787, allocations: 29.7 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.1787, allocations: 84.14 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1787, allocations: 3.906 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.1787, allocations: 4 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.831e-05/0.1788, allocations: 310.8 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.1788, allocations: 7.984 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.1788, allocations: 19.94 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.1789, allocations: 15.92 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1789, allocations: 3.953 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.492e-05/0.179, allocations: 53.62 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.179, allocations: 4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.179, allocations: 0 / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.179, allocations: 0 / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.1791, allocations: 8.094 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1791, allocations: 0 / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.1792, allocations: 7.984 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.1792, allocations: 0 / 0.9824 GB, free: 24.5 MB / 0.6198 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.138e-05/0.1792, allocations: 105.8 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.1792, allocations: 7.953 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.1793, allocations: 3.125 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1793, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1793, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1793, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.099e-05/0.1793, allocations: 153.7 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1793, allocations: 3.984 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.1794, allocations: 7.953 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1794, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1794, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1794, allocations: 4.25 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1794, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1795, allocations: 88.95 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.1795, allocations: 77.11 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1796, allocations: 3.953 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.1796, allocations: 4 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.1796, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1796, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.108e-05/0.1797, allocations: 91.3 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000172/0.1798, allocations: 4 kB / 0.983 GB, free: 23.86 MB / 0.6198 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.0002439/0.1801, allocations: 0.6086 MB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1802, allocations: 19.94 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1802, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.1803, allocations: 15.92 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1804, allocations: 11.95 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.1807, allocations: 138.4 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.1808, allocations: 0.6808 MB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.1808, allocations: 3.938 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1808, allocations: 15.44 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1808, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.1916, allocations: 0.9154 MB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.1917, allocations: 213.3 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.666, allocations: 3.938 kB / 0.9855 GB, free: 21.29 MB / 0.6198 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)