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/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7157/0.7157, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 164.9 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 87.38 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.147, allocations: 76.76 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4599/0.6069, allocations: 106 MB / 0.7317 GB, free: 7.484 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.6072, allocations: 85.06 kB / 0.7318 GB, free: 7.438 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01663/0.6238, allocations: 6.621 MB / 0.7383 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6238, allocations: 0 / 0.7383 GB, free: 1.965 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.6239, allocations: 7.938 kB / 0.7383 GB, free: 1.957 MB / 490.7 MB 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.0005915/0.6245, allocations: 492.7 kB / 0.7388 GB, free: 1.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6245, allocations: 11.97 kB / 0.7388 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.6246, allocations: 63.75 kB / 0.7388 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6247, allocations: 31.62 kB / 0.7389 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.625, allocations: 258.7 kB / 0.7391 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.6251, allocations: 15.06 kB / 0.7391 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.6251, allocations: 15.94 kB / 0.7391 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.6255, allocations: 212.9 kB / 0.7393 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6255, allocations: 0 / 0.7393 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.6255, allocations: 11.06 kB / 0.7394 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.6255, allocations: 11.89 kB / 0.7394 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.6264, allocations: 0.7374 MB / 0.7401 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6274, allocations: 0.6259 MB / 0.7407 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.6279, allocations: 291.3 kB / 0.741 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.628, allocations: 108.5 kB / 0.7411 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.6281, allocations: 20.19 kB / 0.7411 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.6284, allocations: 182 kB / 0.7413 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.6284, allocations: 0 / 0.7413 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0004686/0.6289, allocations: 265.4 kB / 0.7415 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.629, allocations: 88.22 kB / 0.7416 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.6293, allocations: 251 kB / 0.7418 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.6293, allocations: 36.2 kB / 0.7419 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.6294, allocations: 128 kB / 0.742 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.6295, allocations: 116.2 kB / 0.7421 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.6295, allocations: 6.062 kB / 0.7421 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6297, allocations: 345.2 kB / 0.7424 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.6298, allocations: 73.55 kB / 0.7425 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.63, allocations: 108.3 kB / 0.7426 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.6301, allocations: 98.62 kB / 0.7427 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6301, allocations: 3.953 kB / 0.7427 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004089/0.6306, allocations: 267.2 kB / 0.743 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6306, allocations: 11.98 kB / 0.743 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.6306, allocations: 0 / 0.743 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6306, allocations: 4.031 kB / 0.743 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.6308, allocations: 63.72 kB / 0.7431 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6309, allocations: 4 kB / 0.7431 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.631, allocations: 19.06 kB / 0.7431 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.631, allocations: 15.42 kB / 0.7431 GB, free: 13.55 MB / 0.4948 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.tStart,conTim.tStart) * Number of discrete 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.0001171/0.6311, allocations: 121.4 kB / 0.7432 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.6312, allocations: 27.67 kB / 0.7432 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.6319, allocations: 386.4 kB / 0.7436 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6319, allocations: 11.97 kB / 0.7436 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6319, allocations: 0 / 0.7436 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6319, allocations: 7.938 kB / 0.7436 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.6322, allocations: 345.5 kB / 0.7439 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6323, allocations: 0 / 0.7439 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.6324, allocations: 59.86 kB / 0.744 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6325, allocations: 4 kB / 0.744 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.6325, allocations: 14.55 kB / 0.744 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6325, allocations: 4 kB / 0.744 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6325, allocations: 0 / 0.744 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.6329, allocations: 308.2 kB / 0.7443 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.6331, allocations: 154.2 kB / 0.7445 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.6332, allocations: 11.58 kB / 0.7445 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.6333, allocations: 19.11 kB / 0.7445 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.6334, allocations: 27.91 kB / 0.7445 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.6334, allocations: 18.92 kB / 0.7445 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002057/0.6336, allocations: 207.9 kB / 0.7447 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6336, allocations: 0 / 0.7447 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003285/0.634, allocations: 78.7 kB / 0.7448 GB, free: 11.97 MB / 0.4948 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.001508/0.6355, allocations: 1.122 MB / 0.7459 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.6359, allocations: 224.3 kB / 0.7461 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6359, allocations: 0 / 0.7461 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.6361, allocations: 124.3 kB / 0.7462 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.6363, allocations: 39.17 kB / 0.7463 GB, free: 10.7 MB / 0.4948 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/Resources/IBPSA/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.6373, allocations: 493.2 kB / 0.7467 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.6376, allocations: 0.7638 MB / 0.7475 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.638, allocations: 150.8 kB / 0.7476 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6381, allocations: 92.2 kB / 0.7477 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of SimCode: time 1.983e-06/0.6382, allocations: 0 / 0.7477 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.8452, allocations: 5.519 MB / 0.7531 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.8455, allocations: 233 kB / 0.7533 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.785, allocations: 0 / 0.7533 GB, free: 3.672 MB / 0.4948 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)