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.0007425/0.0007425, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.000768/0.000768, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8701/0.8701, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7256/0.7256, 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 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.931e-05, allocations: 2.875 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002738/0.002757, allocations: 1.673 MB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004096, allocations: 1.367 MB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.004163, allocations: 4 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.00438, allocations: 31.77 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.004739, allocations: 105.9 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.005032, allocations: 142.2 kB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.005268, allocations: 249.5 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.005363, allocations: 11.98 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.005474, allocations: 119.8 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005608, allocations: 79.81 kB / 0.6218 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.005635, allocations: 20 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.005794, allocations: 127.8 kB / 0.6219 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.005872, allocations: 83.75 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.005931, allocations: 63.81 kB / 0.6221 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.006261, allocations: 350.8 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006265, allocations: 4 kB / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.123e-06/0.006266, allocations: 0 / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.006272, allocations: 3.938 kB / 0.6224 GB, free: 9.234 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.0005883/0.00686, allocations: 485.6 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006898, allocations: 8.031 kB / 0.6229 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.00694, allocations: 50.73 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.006996, allocations: 28.8 kB / 0.623 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.007229, allocations: 216.8 kB / 0.6232 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007246, allocations: 12.38 kB / 0.6232 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.007265, allocations: 16.38 kB / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.007547, allocations: 295 kB / 0.6235 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007555, allocations: 192 / 0.6235 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.007819, allocations: 11.94 kB / 0.6235 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.007825, allocations: 4 kB / 0.6235 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/0.008351, allocations: 0.688 MB / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.008962, allocations: 0.5153 MB / 0.6247 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.00931, allocations: 288.3 kB / 0.6249 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.009413, allocations: 97.31 kB / 0.625 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.009448, allocations: 12.27 kB / 0.6251 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.009726, allocations: 176.9 kB / 0.6252 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.009727, allocations: 0 / 0.6252 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0004885/0.01022, allocations: 375.5 kB / 0.6256 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.01027, allocations: 132.5 kB / 0.6257 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.01085, allocations: 313.7 kB / 0.626 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01087, allocations: 29.7 kB / 0.626 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.01093, allocations: 136.7 kB / 0.6262 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.01099, allocations: 111 kB / 0.6263 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.01105, allocations: 65.69 kB / 0.6263 GB, free: 5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.01115, allocations: 338.8 kB / 0.6267 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.01125, allocations: 83.94 kB / 0.6267 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.0114, allocations: 209 kB / 0.6269 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.01162, allocations: 219.1 kB / 0.6271 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01162, allocations: 0 / 0.6271 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002905/0.01191, allocations: 273.3 kB / 0.6274 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01193, allocations: 4 kB / 0.6274 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01193, allocations: 0 / 0.6274 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01194, allocations: 8 kB / 0.6274 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.0121, allocations: 59.91 kB / 0.6275 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01211, allocations: 0 / 0.6275 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.01219, allocations: 31.86 kB / 0.6275 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.01221, allocations: 15.98 kB / 0.6275 GB, free: 3.738 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.0001171/0.01233, allocations: 170.6 kB / 0.6277 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.01236, allocations: 23.86 kB / 0.6277 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.01279, allocations: 388.8 kB / 0.6281 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.0128, allocations: 4 kB / 0.6281 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.0128, allocations: 0 / 0.6281 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01281, allocations: 3.984 kB / 0.6281 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.01301, allocations: 276.5 kB / 0.6283 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01301, allocations: 0 / 0.6283 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.01312, allocations: 55.91 kB / 0.6284 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01313, allocations: 4 kB / 0.6284 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01314, allocations: 11.98 kB / 0.6284 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01314, allocations: 0 / 0.6284 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01314, allocations: 3.938 kB / 0.6284 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.01353, allocations: 322.6 kB / 0.6287 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.01362, allocations: 79.66 kB / 0.6288 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01365, allocations: 4 kB / 0.6288 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.01374, allocations: 19.98 kB / 0.6288 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.01378, allocations: 23.95 kB / 0.6288 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.0138, allocations: 12 kB / 0.6289 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000138/0.01394, allocations: 241.2 kB / 0.6291 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01394, allocations: 4 kB / 0.6291 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002443/0.01418, allocations: 75.86 kB / 0.6292 GB, free: 1.98 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.00122/0.0154, allocations: 1.254 MB / 0.6304 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.01571, allocations: 215.8 kB / 0.6306 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01571, allocations: 0 / 0.6306 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.01583, allocations: 123.8 kB / 0.6307 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01605, allocations: 35.06 kB / 0.6307 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.01846, allocations: 2.518 MB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.01856, allocations: 146.9 kB / 0.6333 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.01876, allocations: 146.8 kB / 0.6335 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01888, allocations: 100.5 kB / 0.6336 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.01888, allocations: 0 / 0.6336 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.04001, allocations: 6.734 MB / 0.6402 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.933, allocations: 12.97 kB / 0.6402 GB, free: 6.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 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: 9.657829467207193] Failed to read output from testmodel.py, exit status != 0: 7.071744069457054 7.080283463 7.072341172 Calling exit ...