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.001089/0.001089, allocations: 103.6 kB / 16.27 MB, free: 5.898 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.00108/0.00108, allocations: 189.6 kB / 17.19 MB, free: 5.543 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.241/1.241, 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.7089/0.7089, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2836, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002555/0.2862, allocations: 1.85 MB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2878, allocations: 1.589 MB / 0.5706 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.2878, allocations: 1.625 kB / 0.5706 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.288, allocations: 31.7 kB / 0.5707 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.2883, allocations: 73.62 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.2886, allocations: 169 kB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.2889, allocations: 282.7 kB / 0.5712 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.289, allocations: 35.61 kB / 0.5712 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.2891, allocations: 100.1 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.2893, allocations: 101.7 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.2893, allocations: 21.56 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2895, allocations: 84.61 kB / 0.5715 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.2896, allocations: 90.83 kB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2897, allocations: 121.8 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.29, allocations: 327.8 kB / 0.572 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.29, allocations: 0 / 0.572 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.29, allocations: 0.8438 kB / 0.572 GB, free: 29.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2901, allocations: 1.25 kB / 0.572 GB, free: 29.71 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.000608/0.2907, allocations: 0.5576 MB / 0.5726 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2907, allocations: 10.78 kB / 0.5726 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.2908, allocations: 55.23 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2909, allocations: 34.56 kB / 0.5727 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2911, allocations: 276 kB / 0.5729 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2912, allocations: 17.25 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2912, allocations: 20 kB / 0.573 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.2915, allocations: 239.3 kB / 0.5732 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2915, allocations: 1.031 kB / 0.5732 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2915, allocations: 11.31 kB / 0.5732 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2916, allocations: 4.406 kB / 0.5732 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/0.2924, allocations: 0.746 MB / 0.5739 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.2933, allocations: 0.6405 MB / 0.5746 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.2937, allocations: 311.1 kB / 0.5749 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2939, allocations: 117.7 kB / 0.575 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.2939, allocations: 22.08 kB / 0.575 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.2942, allocations: 184.8 kB / 0.5752 GB, free: 28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.2942, allocations: 0.9062 kB / 0.5752 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005867/0.2948, allocations: 375.1 kB / 0.5755 GB, free: 27.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2948, allocations: 133.3 kB / 0.5757 GB, free: 27.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.2951, allocations: 318.2 kB / 0.576 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2951, allocations: 32.23 kB / 0.576 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.2952, allocations: 139.5 kB / 0.5761 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.2953, allocations: 114.5 kB / 0.5762 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.2953, allocations: 66.02 kB / 0.5763 GB, free: 27.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.2954, allocations: 344.6 kB / 0.5766 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2955, allocations: 80.05 kB / 0.5767 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2957, allocations: 132.5 kB / 0.5768 GB, free: 26.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.296, allocations: 211.1 kB / 0.577 GB, free: 26.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.296, allocations: 0 / 0.577 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003776/0.2964, allocations: 289 kB / 0.5773 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2964, allocations: 8.062 kB / 0.5773 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2964, allocations: 2.781 kB / 0.5773 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2964, allocations: 2.172 kB / 0.5773 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2966, allocations: 59.89 kB / 0.5774 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2966, allocations: 2.031 kB / 0.5774 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2968, allocations: 30.7 kB / 0.5774 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2968, allocations: 14.22 kB / 0.5774 GB, free: 26.6 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.000116/0.2969, allocations: 164.6 kB / 0.5776 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.297, allocations: 28.64 kB / 0.5776 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.2976, allocations: 381.9 kB / 0.578 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2976, allocations: 3.812 kB / 0.578 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2976, allocations: 0 / 0.578 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2976, allocations: 2.141 kB / 0.578 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.2979, allocations: 341.7 kB / 0.5783 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2979, allocations: 0 / 0.5783 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.298, allocations: 62.11 kB / 0.5784 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2981, allocations: 5.188 kB / 0.5784 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2981, allocations: 11.97 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2981, allocations: 5.281 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2981, allocations: 1.484 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.2985, allocations: 334.5 kB / 0.5787 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.2986, allocations: 144.9 kB / 0.5788 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.2987, allocations: 10.97 kB / 0.5788 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2988, allocations: 23.11 kB / 0.5789 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2989, allocations: 25.36 kB / 0.5789 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.2989, allocations: 14.39 kB / 0.5789 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.2991, allocations: 236.8 kB / 0.5791 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2991, allocations: 5.562 kB / 0.5791 GB, free: 25.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.2994, allocations: 76.23 kB / 0.5792 GB, free: 25.56 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.001294/0.3007, allocations: 1.157 MB / 0.5803 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.3012, allocations: 308.4 kB / 0.5806 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3012, allocations: 0 / 0.5806 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3014, allocations: 131.3 kB / 0.5808 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3017, allocations: 44.3 kB / 0.5808 GB, free: 24.68 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.002276/0.3039, allocations: 2.518 MB / 0.5833 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3041, allocations: 0.7686 MB / 0.584 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.3044, allocations: 146.6 kB / 0.5842 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3045, allocations: 101.9 kB / 0.5842 GB, free: 22.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3045, allocations: 0 / 0.5842 GB, free: 22.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2359/0.5405, allocations: 5.96 MB / 0.5901 GB, free: 19.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.545, allocations: 23.69 kB / 0.5901 GB, free: 19.14 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)