Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_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.0009578/0.0009578, allocations: 99.98 kB / 16.27 MB, free: 5.965 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.0009095/0.0009096, allocations: 190.1 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6808/0.6808, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2626, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002553/0.2652, allocations: 1.859 MB / 0.5691 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2668, allocations: 1.582 MB / 0.5706 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.2669, allocations: 1.156 kB / 0.5706 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.2671, allocations: 25.88 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.2673, allocations: 76.25 kB / 0.5707 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.2677, allocations: 174.3 kB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.268, allocations: 280.4 kB / 0.5712 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.2681, allocations: 31.55 kB / 0.5712 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.2682, allocations: 95.14 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2683, allocations: 107.1 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2684, allocations: 21.66 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2685, allocations: 89.42 kB / 0.5715 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.2686, allocations: 91.38 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.2687, allocations: 124.5 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.269, allocations: 318.8 kB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.269, allocations: 1.688 kB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.269, allocations: 0 / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.269, allocations: 0 / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005739/0.2696, allocations: 0.5654 MB / 0.5726 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.2697, allocations: 9.797 kB / 0.5726 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.2697, allocations: 54.52 kB / 0.5726 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2698, allocations: 34.94 kB / 0.5727 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.2701, allocations: 279 kB / 0.5729 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2701, allocations: 12.41 kB / 0.5729 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2701, allocations: 19.92 kB / 0.573 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.2704, allocations: 241.4 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2704, allocations: 6.109 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2705, allocations: 7.172 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2705, allocations: 5.75 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/0.2713, allocations: 0.7529 MB / 0.5739 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.2721, allocations: 0.6337 MB / 0.5746 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.2726, allocations: 315.5 kB / 0.5749 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2727, allocations: 108.4 kB / 0.575 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2728, allocations: 18.7 kB / 0.575 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.273, allocations: 181.7 kB / 0.5752 GB, free: 27.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.2731, allocations: 0.9688 kB / 0.5752 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005624/0.2736, allocations: 378.1 kB / 0.5755 GB, free: 27.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2737, allocations: 137.7 kB / 0.5757 GB, free: 27.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2739, allocations: 309.6 kB / 0.576 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2739, allocations: 33.58 kB / 0.576 GB, free: 27.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.274, allocations: 138.5 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.274, allocations: 118.1 kB / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.2741, allocations: 67.2 kB / 0.5763 GB, free: 27.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.2742, allocations: 335.9 kB / 0.5766 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2743, allocations: 84.95 kB / 0.5767 GB, free: 26.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2745, allocations: 135.6 kB / 0.5768 GB, free: 26.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2747, allocations: 215.8 kB / 0.577 GB, free: 26.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2747, allocations: 0 / 0.577 GB, free: 26.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003611/0.2751, allocations: 280.1 kB / 0.5773 GB, free: 26.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2751, allocations: 12.12 kB / 0.5773 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2751, allocations: 0.9688 kB / 0.5773 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2752, allocations: 1.375 kB / 0.5773 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.2753, allocations: 64.69 kB / 0.5774 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2754, allocations: 1.906 kB / 0.5774 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2755, allocations: 33.78 kB / 0.5774 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2755, allocations: 14.45 kB / 0.5774 GB, free: 26.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2756, allocations: 160.6 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.2757, allocations: 34.16 kB / 0.5776 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.2762, allocations: 380.7 kB / 0.578 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2763, allocations: 2.75 kB / 0.578 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2763, allocations: 6.062 kB / 0.578 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2763, allocations: 1.359 kB / 0.578 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2765, allocations: 343.5 kB / 0.5783 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2765, allocations: 1.391 kB / 0.5783 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2767, allocations: 55.36 kB / 0.5784 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2767, allocations: 5.188 kB / 0.5784 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2767, allocations: 10.98 kB / 0.5784 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2767, allocations: 5.5 kB / 0.5784 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2767, allocations: 1.156 kB / 0.5784 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.2771, allocations: 333.8 kB / 0.5787 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.2772, allocations: 143.2 kB / 0.5788 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.2773, allocations: 10.11 kB / 0.5788 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2774, allocations: 26.75 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2775, allocations: 26.44 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.2775, allocations: 16.39 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.2777, allocations: 237.6 kB / 0.5791 GB, free: 25.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2777, allocations: 1.906 kB / 0.5791 GB, free: 25.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.278, allocations: 76.3 kB / 0.5792 GB, free: 25.39 MB / 446.1 MB 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 (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.001171/0.2791, allocations: 1.16 MB / 0.5803 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.2796, allocations: 311.7 kB / 0.5806 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2796, allocations: 0 / 0.5806 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2798, allocations: 127.1 kB / 0.5808 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.28, allocations: 45.28 kB / 0.5808 GB, free: 24.51 MB / 446.1 MB 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.002161/0.2822, allocations: 2.519 MB / 0.5833 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2823, allocations: 0.7603 MB / 0.584 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.2826, allocations: 151.2 kB / 0.5842 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.2827, allocations: 97.8 kB / 0.5842 GB, free: 22.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2827, allocations: 3.312 kB / 0.5843 GB, free: 22.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.763/9.046, allocations: 5.956 MB / 0.5901 GB, free: 19.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.258/18.3, allocations: 12.8 kB / 0.5901 GB, free: 19.1 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)