Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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 3.029/3.029, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001426/0.001426, allocations: 193.9 kB / 371 MB, free: 10.88 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.375/2.375, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009181/0.0009178, allocations: 92.91 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00073/0.0007303, allocations: 12.67 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2102, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002149/0.2124, allocations: 1.3 MB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2141, allocations: 1.004 MB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.2143, allocations: 4 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2145, allocations: 19.91 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.2148, allocations: 55.78 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2152, allocations: 111 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2155, allocations: 185.6 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2156, allocations: 16.27 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.2157, allocations: 63.83 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2159, allocations: 83.78 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.216, allocations: 8 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.2162, allocations: 51.95 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.2163, allocations: 71.81 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.2163, allocations: 57.58 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.2166, allocations: 187.5 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2166, allocations: 0 / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2166, allocations: 0 / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2167, allocations: 0 / 0.9816 GB, free: 25.05 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008084/0.2175, allocations: 495.4 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2175, allocations: 8.031 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.2176, allocations: 54.48 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.2177, allocations: 27.67 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.218, allocations: 254.5 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2181, allocations: 11.94 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.2181, allocations: 19.98 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.2186, allocations: 216.7 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2186, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.2186, allocations: 4 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2187, allocations: 4 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2199, allocations: 0.7373 MB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.221, allocations: 0.5707 MB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.2218, allocations: 287.7 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.222, allocations: 109.2 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.2221, allocations: 20.25 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.2225, allocations: 176.9 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.627e-06/0.2225, allocations: 4 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0009125/0.2235, allocations: 366 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.2235, allocations: 132.5 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2239, allocations: 297.4 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2239, allocations: 29.7 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.224, allocations: 124.7 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.2241, allocations: 118.3 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.2241, allocations: 4 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.2242, allocations: 338.8 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2244, allocations: 83.95 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.2247, allocations: 119.4 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.225, allocations: 100.4 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.225, allocations: 0 / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005976/0.2256, allocations: 277.3 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2256, allocations: 4 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2256, allocations: 4 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.2257, allocations: 7.953 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.2261, allocations: 63.91 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2261, allocations: 0 / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.2264, allocations: 27.83 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.2264, allocations: 8 kB / 0.9865 GB, free: 19.74 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001851/0.2266, allocations: 165.7 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.2267, allocations: 27.62 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.2277, allocations: 396.5 kB / 0.9871 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2277, allocations: 4 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2277, allocations: 3.953 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2277, allocations: 0 / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.2281, allocations: 333.2 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2281, allocations: 0 / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.2285, allocations: 55.91 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2285, allocations: 7.938 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2285, allocations: 12 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2285, allocations: 0 / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2285, allocations: 3.938 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.2292, allocations: 321.7 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2293, allocations: 144.7 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.2294, allocations: 4 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.2297, allocations: 19.98 kB / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.2298, allocations: 31.89 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.2298, allocations: 12 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002403/0.2301, allocations: 236.4 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2301, allocations: 0 / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003924/0.2305, allocations: 60 kB / 0.9883 GB, free: 17.84 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001822/0.2323, allocations: 1.145 MB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.2329, allocations: 219.8 kB / 0.9896 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2329, allocations: 0 / 0.9896 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.2332, allocations: 135.7 kB / 0.9897 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2336, allocations: 30.91 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.2365, allocations: 1.46 MB / 0.9912 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2367, allocations: 0.7612 MB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005421/0.2373, allocations: 138.9 kB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.2375, allocations: 91.39 kB / 0.9921 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2375, allocations: 3.938 kB / 0.9921 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4926/0.7301, allocations: 5.367 MB / 0.9974 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.7304, allocations: 257 kB / 0.9976 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.409, allocations: 0 / 0.9976 GB, free: 8.395 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)