Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7051/0.7051, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.64 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 80.19 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002668/0.3285, allocations: 1.868 MB / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3301, allocations: 1.568 MB / 0.5835 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3302, allocations: 1.531 kB / 0.5835 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3304, allocations: 25.47 kB / 0.5836 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3306, allocations: 80.22 kB / 0.5836 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.331, allocations: 168 kB / 0.5838 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3312, allocations: 278.7 kB / 0.5841 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3314, allocations: 33.23 kB / 0.5841 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3315, allocations: 90.88 kB / 0.5842 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3316, allocations: 108.8 kB / 0.5843 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.3317, allocations: 19.69 kB / 0.5843 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3319, allocations: 88.75 kB / 0.5844 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.332, allocations: 82.31 kB / 0.5845 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.3321, allocations: 119.7 kB / 0.5846 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3324, allocations: 319.8 kB / 0.5849 GB, free: 1.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3324, allocations: 0 / 0.5849 GB, free: 1.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3324, allocations: 0 / 0.5849 GB, free: 1.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3324, allocations: 5.375 kB / 0.5849 GB, free: 1.539 MB / 430.1 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.0006187/0.333, allocations: 0.5589 MB / 0.5854 GB, free: 1.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.3331, allocations: 9.812 kB / 0.5855 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.3331, allocations: 58.2 kB / 0.5855 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3333, allocations: 29.52 kB / 0.5855 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3335, allocations: 274.2 kB / 0.5858 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3335, allocations: 11.31 kB / 0.5858 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3336, allocations: 24.03 kB / 0.5858 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3339, allocations: 232 kB / 0.5861 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3339, allocations: 0 / 0.5861 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3339, allocations: 11.23 kB / 0.5861 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3339, allocations: 4.281 kB / 0.5861 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.3348, allocations: 0.7505 MB / 0.5868 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.3357, allocations: 0.6263 MB / 0.5874 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.3362, allocations: 304.7 kB / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3364, allocations: 117 kB / 0.5878 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.3365, allocations: 20.72 kB / 0.5878 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.3368, allocations: 181.4 kB / 0.588 GB, free: 15.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.076e-06/0.3368, allocations: 0 / 0.588 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006689/0.3375, allocations: 378.2 kB / 0.5884 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.3376, allocations: 133.7 kB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3379, allocations: 310.2 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3379, allocations: 30.95 kB / 0.5888 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.338, allocations: 133.5 kB / 0.589 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.3381, allocations: 118.9 kB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.3382, allocations: 66.47 kB / 0.5891 GB, free: 15.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3383, allocations: 338.5 kB / 0.5895 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3385, allocations: 85.31 kB / 0.5895 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.3387, allocations: 127.1 kB / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.339, allocations: 219.5 kB / 0.5899 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.339, allocations: 4.594 kB / 0.5899 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004513/0.3395, allocations: 279.5 kB / 0.5901 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3395, allocations: 5.406 kB / 0.5901 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3395, allocations: 0 / 0.5901 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3395, allocations: 5.938 kB / 0.5901 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3397, allocations: 61.28 kB / 0.5902 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3397, allocations: 2.297 kB / 0.5902 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3399, allocations: 27.69 kB / 0.5902 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.3399, allocations: 9.578 kB / 0.5902 GB, free: 14.44 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.0001486/0.3401, allocations: 172.3 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.3401, allocations: 26.12 kB / 0.5904 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.3408, allocations: 389.8 kB / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3409, allocations: 4.375 kB / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3409, allocations: 0 / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3409, allocations: 3.141 kB / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.3412, allocations: 345.5 kB / 0.5911 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3412, allocations: 4 kB / 0.5911 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3414, allocations: 62.75 kB / 0.5912 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3414, allocations: 1.375 kB / 0.5912 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3414, allocations: 18.25 kB / 0.5912 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3414, allocations: 1.469 kB / 0.5912 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3415, allocations: 0.6094 kB / 0.5912 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.3419, allocations: 321.7 kB / 0.5915 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3421, allocations: 147.7 kB / 0.5917 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.3421, allocations: 15.72 kB / 0.5917 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3423, allocations: 31.06 kB / 0.5917 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3424, allocations: 26.33 kB / 0.5917 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3424, allocations: 12.17 kB / 0.5918 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.3426, allocations: 237.4 kB / 0.592 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 0.592 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3429, allocations: 67.98 kB / 0.592 GB, free: 13.38 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.001399/0.3443, allocations: 1.155 MB / 0.5932 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.3448, allocations: 305.4 kB / 0.5935 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3448, allocations: 0 / 0.5935 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.345, allocations: 130.2 kB / 0.5936 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3453, allocations: 44.66 kB / 0.5936 GB, free: 12.48 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.002735/0.3481, allocations: 2.53 MB / 0.5961 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3484, allocations: 0.7598 MB / 0.5968 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.3487, allocations: 149.3 kB / 0.597 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3488, allocations: 102.9 kB / 0.5971 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3488, allocations: 0 / 0.5971 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5812/0.93, allocations: 5.934 MB / 0.6029 GB, free: 7.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/7.708, allocations: 12.25 kB / 0.6029 GB, free: 7.273 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)