Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001184/0.001184, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001278/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.174/1.174, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004805, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3152, allocations: 83.43 MB / 0.5976 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003551/0.3188, allocations: 1.308 MB / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3214, allocations: 1.078 MB / 0.5999 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.3215, allocations: 4 kB / 0.5999 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.3219, allocations: 19.86 kB / 0.5999 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.3222, allocations: 55.83 kB / 0.6 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.3227, allocations: 119.2 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.3231, allocations: 189.6 kB / 0.6003 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3233, allocations: 15.98 kB / 0.6003 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3234, allocations: 67.83 kB / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3237, allocations: 79.77 kB / 0.6004 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.3237, allocations: 12 kB / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3239, allocations: 63.97 kB / 0.6005 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.324, allocations: 63.81 kB / 0.6005 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.3241, allocations: 57.58 kB / 0.6006 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.3245, allocations: 199.8 kB / 0.6008 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3245, allocations: 0 / 0.6008 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.157e-06/0.3245, allocations: 0 / 0.6008 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3245, allocations: 0 / 0.6008 GB, free: 4.352 MB / 0.4981 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.001072/0.3256, allocations: 491.4 kB / 0.6013 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.3257, allocations: 8.031 kB / 0.6013 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.332e-05/0.3258, allocations: 54.55 kB / 0.6013 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.3259, allocations: 23.72 kB / 0.6013 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3263, allocations: 262.4 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3263, allocations: 8 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.3264, allocations: 20 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.3269, allocations: 214.6 kB / 0.6018 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3269, allocations: 0 / 0.6018 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3269, allocations: 4 kB / 0.6018 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.327, allocations: 7.938 kB / 0.6018 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3281, allocations: 0.7334 MB / 0.6025 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3293, allocations: 0.5706 MB / 0.6031 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.3299, allocations: 291.7 kB / 0.6034 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.3301, allocations: 101.9 kB / 0.6035 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.668e-05/0.3302, allocations: 16.25 kB / 0.6035 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.3307, allocations: 184.8 kB / 0.6037 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.3307, allocations: 0 / 0.6037 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0008018/0.3315, allocations: 365.2 kB / 0.604 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.3317, allocations: 136.5 kB / 0.6042 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.3321, allocations: 297.2 kB / 0.6044 GB, free: 384 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.3322, allocations: 33.7 kB / 0.6045 GB, free: 344 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3324, allocations: 116.8 kB / 0.6046 GB, free: 220 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3325, allocations: 122.3 kB / 0.6047 GB, free: 96 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.3325, allocations: 4 kB / 0.6047 GB, free: 92 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.5102/0.8428, allocations: 338.8 kB / 0.605 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.8431, allocations: 73.95 kB / 0.6051 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.8433, allocations: 125.5 kB / 0.6052 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.8435, allocations: 107.5 kB / 0.6053 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8436, allocations: 1.531 kB / 0.6053 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000485/0.8441, allocations: 279.1 kB / 0.6056 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.8441, allocations: 6.125 kB / 0.6056 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8441, allocations: 0 / 0.6056 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8441, allocations: 0.5 kB / 0.6056 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.8444, allocations: 64.17 kB / 0.6057 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.8444, allocations: 1.891 kB / 0.6057 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.8446, allocations: 33.23 kB / 0.6057 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.8446, allocations: 10.09 kB / 0.6057 GB, free: 40.82 MB / 0.4981 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.000157/0.8448, allocations: 161.3 kB / 0.6058 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.8448, allocations: 27.11 kB / 0.6059 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.8455, allocations: 386.7 kB / 0.6062 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8455, allocations: 2.625 kB / 0.6062 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.8455, allocations: 1.656 kB / 0.6062 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.8455, allocations: 5.672 kB / 0.6063 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.8458, allocations: 333.6 kB / 0.6066 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8458, allocations: 3.844 kB / 0.6066 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.846, allocations: 51.98 kB / 0.6066 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.846, allocations: 2.531 kB / 0.6066 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.846, allocations: 19.27 kB / 0.6066 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.846, allocations: 3.688 kB / 0.6066 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8461, allocations: 3.844 kB / 0.6067 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.8465, allocations: 313.9 kB / 0.607 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8467, allocations: 148.1 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.8467, allocations: 8.844 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.8468, allocations: 18.58 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.8469, allocations: 31.23 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.847, allocations: 10.78 kB / 0.6072 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002036/0.8472, allocations: 225.3 kB / 0.6074 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8472, allocations: 0 / 0.6074 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000314/0.8475, allocations: 67.91 kB / 0.6074 GB, free: 40.2 MB / 0.4981 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.001608/0.8491, allocations: 1.152 MB / 0.6086 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.8495, allocations: 225.8 kB / 0.6088 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8495, allocations: 0 / 0.6088 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.8497, allocations: 127 kB / 0.6089 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.85, allocations: 34.45 kB / 0.6089 GB, free: 39.54 MB / 0.4981 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.002169/0.8522, allocations: 1.457 MB / 0.6104 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.8525, allocations: 0.7634 MB / 0.6111 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003062/0.8528, allocations: 137.9 kB / 0.6112 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.8529, allocations: 89.55 kB / 0.6113 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.8529, allocations: 0 / 0.6113 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3731/1.226, allocations: 5.379 MB / 0.6166 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.226, allocations: 262 kB / 0.6168 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.365, allocations: 1.875 kB / 0.6168 GB, free: 37.49 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: