Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Validation.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.000852/0.0008521, allocations: 97.95 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.005296/0.005296, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.215/1.215, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.602/1.602, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004607/0.0004608, allocations: 15.84 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1747, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.0008708/0.1756, allocations: 0.6121 MB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.1765, allocations: 0.8828 MB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.1766, allocations: 4 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.1766, allocations: 11.86 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.1767, allocations: 7.922 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1768, allocations: 47.95 kB / 0.7895 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.177, allocations: 131.7 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1771, allocations: 49.45 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1772, allocations: 39.8 kB / 0.7897 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.1772, allocations: 43.7 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1773, allocations: 12 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.1773, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.1773, allocations: 19.92 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.1774, allocations: 73.36 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1775, allocations: 131.5 kB / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1775, allocations: 0 / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1775, allocations: 0 / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.1775, allocations: 0 / 0.79 GB, free: 9.352 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005063/0.178, allocations: 427.4 kB / 0.7904 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1781, allocations: 8.031 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1781, allocations: 46.73 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1782, allocations: 16.75 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1783, allocations: 216 kB / 0.7907 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1784, allocations: 8.375 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1784, allocations: 12.38 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1787, allocations: 154.2 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1787, allocations: 7.875 kB / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1787, allocations: 7.984 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1787, allocations: 7.938 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.179, allocations: 139.9 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.1797, allocations: 0.4922 MB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1799, allocations: 94.47 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1801, allocations: 44.84 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1801, allocations: 4 kB / 0.7916 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1801, allocations: 42.67 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.1801, allocations: 3.984 kB / 0.7917 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004373/0.1806, allocations: 173.5 kB / 0.7919 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1806, allocations: 51.41 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1808, allocations: 191.5 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1808, allocations: 29.7 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1809, allocations: 115.9 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1809, allocations: 27.56 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1809, allocations: 21.7 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.181, allocations: 322.8 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1812, allocations: 47.97 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1813, allocations: 47.97 kB / 0.7927 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1815, allocations: 105.6 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1815, allocations: 7.938 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002986/0.1818, allocations: 157.4 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.1819, allocations: 8 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1819, allocations: 4 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.1819, allocations: 0 / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.182, allocations: 23.98 kB / 0.793 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1821, allocations: 4 kB / 0.793 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1822, allocations: 23.83 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1822, allocations: 0 / 0.793 GB, free: 6.074 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 (13): * Single equations (assignments): 13 * 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 7.935e-05/0.1823, allocations: 136.9 kB / 0.7931 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1823, allocations: 11.81 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.1826, allocations: 154.9 kB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1826, allocations: 0 / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1827, allocations: 4 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1827, allocations: 7.938 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.1832, allocations: 464.8 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1832, allocations: 8.094 kB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1833, allocations: 27.92 kB / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1833, allocations: 4 kB / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1834, allocations: 0 / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1834, allocations: 4 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1834, allocations: 80 / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1837, allocations: 261.8 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.1837, allocations: 92.92 kB / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1838, allocations: 3.984 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1839, allocations: 27.98 kB / 0.7941 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.184, allocations: 7.938 kB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.184, allocations: 7.984 kB / 0.7942 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001008/0.1841, allocations: 142.3 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1841, allocations: 0 / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002269/0.1843, allocations: 24 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0005678/0.1849, allocations: 0.789 MB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1852, allocations: 103.9 kB / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1852, allocations: 4.281 kB / 0.7952 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1853, allocations: 63.89 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1856, allocations: 26.78 kB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1876, allocations: 1.942 MB / 0.7972 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1878, allocations: 0.7083 MB / 0.7979 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.1879, allocations: 13.08 kB / 0.7979 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.1879, allocations: 47.42 kB / 0.7979 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1879, allocations: 0 / 0.7979 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.2946, allocations: 2.47 MB / 0.8003 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.2948, allocations: 203.1 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.899, allocations: 3.938 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)