Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001335/0.001335, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.229/1.229, allocations: 205.1 MB / 222 MB, free: 5.016 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.582/1.582, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001898/0.001898, allocations: 73.78 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1799, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001748/0.1817, allocations: 0.7166 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.1818, allocations: 11.94 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1819, allocations: 4 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.182, allocations: 3.984 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.182, allocations: 7.938 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.233e-05/0.1821, allocations: 4 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.1822, allocations: 35.92 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1823, allocations: 31.97 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.1823, allocations: 11.94 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.681e-05/0.1823, allocations: 15.92 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1824, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.1824, allocations: 4 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1824, allocations: 8 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1825, allocations: 23.86 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.09e-05/0.1825, allocations: 47.8 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1825, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1825, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1826, allocations: 3.938 kB / 0.7837 GB, free: 12.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002934/0.1829, allocations: 351.6 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1829, allocations: 8.031 kB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1829, allocations: 38.73 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.183, allocations: 0.9375 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1831, allocations: 180.2 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1831, allocations: 8.375 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1832, allocations: 12.31 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1833, allocations: 74.22 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1833, allocations: 3.938 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1833, allocations: 0 / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1833, allocations: 4 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.1834, allocations: 51.91 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1838, allocations: 487.1 kB / 0.7849 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.1839, allocations: 165.1 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.1839, allocations: 80.17 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.184, allocations: 91.2 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.184, allocations: 105.8 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.184, allocations: 4 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.1841, allocations: 41.53 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1841, allocations: 130.6 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1843, allocations: 168.5 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1843, allocations: 25.7 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1844, allocations: 96.08 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.1844, allocations: 4 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1844, allocations: 21.61 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.1845, allocations: 318.8 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.1845, allocations: 12.09 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.1846, allocations: 7.938 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.1846, allocations: 16.84 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1846, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.1847, allocations: 53.62 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1847, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1847, allocations: 0 / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1847, allocations: 4.094 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.1848, allocations: 11.92 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1848, allocations: 0 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.1848, allocations: 7.906 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1849, allocations: 0 / 0.7862 GB, free: 10.21 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 8.38e-05/0.1849, allocations: 197.1 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.185, allocations: 105 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.1851, allocations: 116.8 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-05/0.1851, allocations: 184.2 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/0.1852, allocations: 180.2 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/0.1852, allocations: 180.3 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1854, allocations: 418.3 kB / 0.7875 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.1855, allocations: 108.9 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1855, allocations: 109 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.672e-05/0.1855, allocations: 184.2 kB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.1856, allocations: 176.3 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.342e-05/0.1857, allocations: 184.2 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.211e-05/0.1857, allocations: 180.2 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1859, allocations: 319.9 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.1859, allocations: 186 kB / 0.7889 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.186, allocations: 184.3 kB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1861, allocations: 112.8 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1861, allocations: 180.3 kB / 0.7893 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.1862, allocations: 112.9 kB / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.595e-05/0.1863, allocations: 135.2 kB / 0.7896 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1863, allocations: 0 / 0.7896 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002141/0.1865, allocations: 4 kB / 0.7896 GB, free: 6.5 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 (0): * Single equations (assignments): 0 * 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.0003448/0.1868, allocations: 0.8087 MB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.1869, allocations: 15.94 kB / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1869, allocations: 0 / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1869, allocations: 3.938 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1874, allocations: 0.5263 MB / 0.7909 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1884, allocations: 1.599 MB / 0.7925 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1887, allocations: 0.6926 MB / 0.7931 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.1887, allocations: 8 kB / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1887, allocations: 15.44 kB / 0.7932 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1887, allocations: 0 / 0.7932 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/0.4012, allocations: 1.478 MB / 0.7946 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.4015, allocations: 212.8 kB / 0.7948 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.35, allocations: 0 / 0.7948 GB, free: 1.051 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)