Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9749/0.9749, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7416/0.7416, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.676e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002582/0.002609, allocations: 1.665 MB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.00402, allocations: 1.375 MB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.004083, allocations: 0 / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004305, allocations: 27.72 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.004632, allocations: 115.3 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.004896, allocations: 134.3 kB / 0.6214 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.00514, allocations: 249.5 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.00525, allocations: 15.98 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005369, allocations: 119.8 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.005519, allocations: 79.81 kB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.005548, allocations: 16 kB / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.005716, allocations: 111.9 kB / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.005819, allocations: 87.73 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.005893, allocations: 67.77 kB / 0.6221 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.006231, allocations: 354.8 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.006234, allocations: 0 / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.006235, allocations: 0 / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.006241, allocations: 3.938 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006009/0.006842, allocations: 493.6 kB / 0.6229 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.00688, allocations: 8.031 kB / 0.6229 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.006921, allocations: 50.73 kB / 0.6229 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.006977, allocations: 24.8 kB / 0.623 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.00718, allocations: 216.8 kB / 0.6232 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.007196, allocations: 12.38 kB / 0.6232 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.007213, allocations: 20.31 kB / 0.6232 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.007483, allocations: 291 kB / 0.6235 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.007493, allocations: 8.062 kB / 0.6235 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.00751, allocations: 7.938 kB / 0.6235 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007517, allocations: 4 kB / 0.6235 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.008033, allocations: 0.692 MB / 0.6242 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.008614, allocations: 0.5115 MB / 0.6247 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.008955, allocations: 284.2 kB / 0.6249 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.009055, allocations: 93.38 kB / 0.625 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.009088, allocations: 16.27 kB / 0.625 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.009423, allocations: 176.9 kB / 0.6252 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.272e-06/0.009424, allocations: 0 / 0.6252 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0004718/0.009896, allocations: 375.5 kB / 0.6256 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.009957, allocations: 136.5 kB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.01016, allocations: 313.7 kB / 0.626 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01018, allocations: 33.7 kB / 0.626 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.01024, allocations: 128.7 kB / 0.6262 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.0103, allocations: 123 kB / 0.6263 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.01037, allocations: 61.69 kB / 0.6263 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.01045, allocations: 342.8 kB / 0.6267 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.01054, allocations: 79.95 kB / 0.6267 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.01069, allocations: 201.1 kB / 0.6269 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01091, allocations: 219.1 kB / 0.6271 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01092, allocations: 0 / 0.6271 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002809/0.0112, allocations: 273.3 kB / 0.6274 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01121, allocations: 12 kB / 0.6274 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01122, allocations: 0 / 0.6274 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01123, allocations: 48 / 0.6274 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01138, allocations: 71.88 kB / 0.6275 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.01138, allocations: 0 / 0.6275 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.01147, allocations: 27.84 kB / 0.6275 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01148, allocations: 15.98 kB / 0.6275 GB, free: 3.723 MB / 0.5886 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 (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 (35): * Single equations (assignments): 35 * 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.0001066/0.01159, allocations: 162.7 kB / 0.6277 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.01162, allocations: 23.86 kB / 0.6277 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.01204, allocations: 384.9 kB / 0.6281 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01204, allocations: 4 kB / 0.6281 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01205, allocations: 4 kB / 0.6281 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01205, allocations: 3.984 kB / 0.6281 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.01225, allocations: 280.3 kB / 0.6283 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01225, allocations: 0 / 0.6283 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.01236, allocations: 63.91 kB / 0.6284 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01236, allocations: 3.938 kB / 0.6284 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01238, allocations: 8 kB / 0.6284 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.01238, allocations: 0 / 0.6284 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01238, allocations: 4 kB / 0.6284 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.01269, allocations: 330.5 kB / 0.6287 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.01276, allocations: 59.73 kB / 0.6288 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01279, allocations: 16 kB / 0.6288 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01286, allocations: 11.98 kB / 0.6288 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.01291, allocations: 23.95 kB / 0.6288 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.01293, allocations: 12 kB / 0.6289 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001363/0.01306, allocations: 245.2 kB / 0.6291 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01306, allocations: 0 / 0.6291 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002189/0.01328, allocations: 71.86 kB / 0.6292 GB, free: 1.977 MB / 0.5886 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 (34): * Single equations (assignments): 33 * 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.001161/0.01444, allocations: 1.241 MB / 0.6304 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01473, allocations: 219.8 kB / 0.6306 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01473, allocations: 0 / 0.6306 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01485, allocations: 119.8 kB / 0.6307 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.01504, allocations: 34.67 kB / 0.6307 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.01702, allocations: 2.522 MB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.01712, allocations: 154.9 kB / 0.6333 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.0173, allocations: 150.8 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.01741, allocations: 100.4 kB / 0.6336 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.01741, allocations: 0 / 0.6336 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.04019, allocations: 6.733 MB / 0.6402 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.099, allocations: 11.34 kB / 0.6402 GB, free: 6.906 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.090544369071722] Failed to read output from testmodel.py, exit status != 0: 7.2410379545763135 7.256022969 7.24700777 Calling exit ...