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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005115/0.005115, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004598, allocations: 17.47 kB / 0.6745 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0006391/0.1721, allocations: 365.6 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000722/0.1728, allocations: 0.7932 MB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1728, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.1729, allocations: 4 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1729, allocations: 11.92 kB / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.823e-05/0.173, allocations: 3.984 kB / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1731, allocations: 19.88 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1731, allocations: 3.984 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1732, allocations: 12 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.1732, allocations: 3.984 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1733, allocations: 0 / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.1733, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1733, allocations: 7.938 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1733, allocations: 29.7 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.924e-05/0.1734, allocations: 19.89 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1734, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1734, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.836e-06/0.1734, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 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.0002963/0.1737, allocations: 339.7 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1737, allocations: 8.031 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.1738, allocations: 38.75 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.619e-05/0.1738, allocations: 0.9375 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.1739, allocations: 164.4 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.1739, allocations: 384 / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.1739, allocations: 4.312 kB / 0.7898 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.174, allocations: 38.25 kB / 0.7898 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.174, allocations: 3.938 kB / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.174, allocations: 0 / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.174, allocations: 0 / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.1741, allocations: 23.98 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.1742, allocations: 153.7 kB / 0.79 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.1743, allocations: 30.53 kB / 0.79 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.1743, allocations: 12.86 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1744, allocations: 4 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1744, allocations: 38.56 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.295e-06/0.1744, allocations: 0 / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.1746, allocations: 69.45 kB / 0.7901 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.1746, allocations: 51.41 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1747, allocations: 106 kB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1747, allocations: 29.7 kB / 0.7903 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.1747, allocations: 80.14 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1747, allocations: 0 / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.1748, allocations: 9.719 kB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.1749, allocations: 314.8 kB / 0.7907 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.1749, allocations: 15.92 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.1749, allocations: 12 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.175, allocations: 24.84 kB / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.175, allocations: 0 / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.772e-05/0.1751, allocations: 45.69 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1752, allocations: 8.031 kB / 0.7908 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1752, allocations: 8 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.1752, allocations: 0 / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.1752, allocations: 7.984 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1752, allocations: 0 / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.1753, allocations: 0 / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1753, allocations: 7.938 kB / 0.7908 GB, free: 8.32 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.1754, allocations: 109.8 kB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.1754, allocations: 7.844 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.1754, allocations: 11.12 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1754, allocations: 3.984 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1754, allocations: 0 / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1754, allocations: 0 / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.629e-05/0.1755, allocations: 153.7 kB / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1755, allocations: 0 / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.1755, allocations: 4 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1755, allocations: 3.938 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1756, allocations: 256 / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1756, allocations: 4 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1756, allocations: 4 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1757, allocations: 73.11 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.1757, allocations: 81.11 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1757, allocations: 7.875 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.1758, allocations: 0 / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.1758, allocations: 15.91 kB / 0.7913 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1758, allocations: 3.984 kB / 0.7913 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.1758, allocations: 83.28 kB / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1759, allocations: 0 / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001643/0.176, allocations: 4 kB / 0.7914 GB, free: 7.66 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/0.1764, allocations: 0.6085 MB / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.1765, allocations: 23.98 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1765, allocations: 0 / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.1765, allocations: 16.03 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1766, allocations: 6.094 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.1769, allocations: 146.2 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.1771, allocations: 0.677 MB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.1771, allocations: 0 / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1772, allocations: 11.44 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.1772, allocations: 0 / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/0.4273, allocations: 0.902 MB / 0.7937 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.4276, allocations: 207.7 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.051, allocations: 6.562 kB / 0.7939 GB, free: 5.062 MB / 0.6075 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/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)