Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001336/0.001337, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001378/0.001378, allocations: 177.3 kB / 15.95 MB, free: 216 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.943/0.943, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004082, allocations: 8 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 83.41 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001963/0.1576, allocations: 1.516 MB / 0.5988 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1595, allocations: 1.444 MB / 0.6003 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.1595, allocations: 4 kB / 0.6003 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1597, allocations: 31.78 kB / 0.6003 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.16, allocations: 67.16 kB / 0.6004 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1603, allocations: 143.3 kB / 0.6005 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1606, allocations: 169.7 kB / 0.6007 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.1607, allocations: 33.08 kB / 0.6007 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.1608, allocations: 71.83 kB / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.161, allocations: 75.75 kB / 0.6008 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.161, allocations: 8 kB / 0.6008 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1611, allocations: 63.89 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1612, allocations: 67.81 kB / 0.601 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.1613, allocations: 65.56 kB / 0.601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1615, allocations: 223.8 kB / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1616, allocations: 0 / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1616, allocations: 4 kB / 0.6012 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1616, allocations: 3.938 kB / 0.6012 GB, free: 3.703 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006867/0.1623, allocations: 0.5108 MB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1623, allocations: 8.031 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.1624, allocations: 54.55 kB / 0.6018 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1625, allocations: 31.7 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1628, allocations: 269.5 kB / 0.6021 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1628, allocations: 12 kB / 0.6021 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.1629, allocations: 24 kB / 0.6021 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1632, allocations: 229.4 kB / 0.6023 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1632, allocations: 0 / 0.6023 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1633, allocations: 4 kB / 0.6023 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1633, allocations: 4 kB / 0.6023 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.1641, allocations: 0.7488 MB / 0.6031 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1652, allocations: 0.6526 MB / 0.6037 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.1657, allocations: 302.5 kB / 0.604 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.1657, allocations: 16.25 kB / 0.604 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.1661, allocations: 180.7 kB / 0.6042 GB, free: 496 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.674e-06/0.1661, allocations: 0 / 0.6042 GB, free: 496 kB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0007014/0.1668, allocations: 371.7 kB / 0.6045 GB, free: 120 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2452/0.412, allocations: 136.5 kB / 0.6047 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.4123, allocations: 305.4 kB / 0.605 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.4124, allocations: 33.7 kB / 0.605 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.4125, allocations: 133 kB / 0.6051 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.4126, allocations: 119.9 kB / 0.6052 GB, free: 41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.4126, allocations: 4.812 kB / 0.6052 GB, free: 41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.4127, allocations: 339.3 kB / 0.6056 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4128, allocations: 75.12 kB / 0.6056 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.413, allocations: 137.9 kB / 0.6058 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4131, allocations: 99.69 kB / 0.6059 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4132, allocations: 0 / 0.6059 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003843/0.4135, allocations: 280.7 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4136, allocations: 6.094 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4136, allocations: 1.891 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4136, allocations: 3.594 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4138, allocations: 61.25 kB / 0.6062 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4138, allocations: 6.219 kB / 0.6062 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.414, allocations: 30 kB / 0.6062 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.414, allocations: 12.88 kB / 0.6063 GB, free: 40.6 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 (36): * Single equations (assignments): 36 * 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.0001389/0.4142, allocations: 167 kB / 0.6064 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4142, allocations: 25.28 kB / 0.6064 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.4148, allocations: 391.5 kB / 0.6068 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4148, allocations: 2.844 kB / 0.6068 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4148, allocations: 0 / 0.6068 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4148, allocations: 1.422 kB / 0.6068 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4151, allocations: 353.4 kB / 0.6071 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4151, allocations: 0.5 kB / 0.6071 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4153, allocations: 58.39 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4153, allocations: 7.391 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4153, allocations: 9.906 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4153, allocations: 6.656 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4153, allocations: 2.156 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.4157, allocations: 320.9 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4158, allocations: 155.7 kB / 0.6077 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.4159, allocations: 15.77 kB / 0.6077 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.4161, allocations: 32.67 kB / 0.6077 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4161, allocations: 28 kB / 0.6078 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4162, allocations: 10.31 kB / 0.6078 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001525/0.4163, allocations: 235.8 kB / 0.608 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4163, allocations: 3.5 kB / 0.608 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002988/0.4166, allocations: 66.31 kB / 0.6081 GB, free: 39.93 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 (35): * Single equations (assignments): 34 * 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.001292/0.4179, allocations: 1.155 MB / 0.6092 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.4182, allocations: 225.8 kB / 0.6094 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4183, allocations: 0 / 0.6094 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4184, allocations: 136 kB / 0.6095 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4186, allocations: 35.03 kB / 0.6096 GB, free: 39.29 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.001755/0.4204, allocations: 1.527 MB / 0.6111 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.4206, allocations: 0.7706 MB / 0.6118 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.4209, allocations: 141.1 kB / 0.6119 GB, free: 38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.421, allocations: 100.7 kB / 0.612 GB, free: 38 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.421, allocations: 0 / 0.612 GB, free: 38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7362/1.157, allocations: 5.856 MB / 0.6178 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.157, allocations: 272.1 kB / 0.618 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.873, allocations: 0 / 0.618 GB, free: 37.18 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: