Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0007401/0.0007401, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007944/0.0007944, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9283/0.9283, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7446/0.7446, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.274e-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.ConvertTimePositiveStart): time 0.001967/0.00199, allocations: 1.482 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004102/0.0024, allocations: 183.2 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.002448, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.00248, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.002729, allocations: 43.66 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.002919, allocations: 51.05 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003035, allocations: 55.78 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.003154, allocations: 11.94 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.003248, allocations: 35.95 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.003324, allocations: 15.92 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.003352, allocations: 4 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.003364, allocations: 4 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.003396, allocations: 11.98 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.003439, allocations: 23.92 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.003546, allocations: 51.84 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003548, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.00355, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.003555, allocations: 4 kB / 0.62 GB, free: 11.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004646/0.00402, allocations: 274.3 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.004062, allocations: 8.031 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.004094, allocations: 34.75 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.004125, allocations: 0.9375 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.004223, allocations: 117.7 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004238, allocations: 8.375 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.004247, allocations: 4.359 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.0044, allocations: 128.2 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004407, allocations: 192 / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.004419, allocations: 4.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004425, allocations: 8.062 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.004473, allocations: 16 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.004785, allocations: 228.1 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.004867, allocations: 42.5 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.004896, allocations: 16.8 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.004906, allocations: 4 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.005062, allocations: 59.48 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005063, allocations: 0 / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.005248, allocations: 77.77 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.005306, allocations: 106.8 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.005371, allocations: 109.8 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.005386, allocations: 25.7 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.005424, allocations: 84.14 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.005442, allocations: 11.91 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.005476, allocations: 25.7 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.005553, allocations: 314.8 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.005577, allocations: 15.98 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.00563, allocations: 85.95 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.005673, allocations: 25.23 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.005675, allocations: 4 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.095e-05/0.005756, allocations: 73.55 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.005771, allocations: 6.031 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005776, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.005789, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.005859, allocations: 8 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.005865, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.005929, allocations: 15.95 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.005938, allocations: 4 kB / 0.6219 GB, free: 9.5 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 (5): * Single equations (assignments): 5 * 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 6.921e-05/0.006007, allocations: 114.8 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.00602, allocations: 7.891 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.006041, allocations: 7.672 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006044, allocations: 4 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.006049, allocations: 0 / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006052, allocations: 0 / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.57e-05/0.006138, allocations: 144.6 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006139, allocations: 4 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.006152, allocations: 4 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006154, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.006162, allocations: 3.984 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006163, allocations: 0 / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006165, allocations: 3.938 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.006271, allocations: 89.06 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.006303, allocations: 11.94 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.006319, allocations: 4 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.006377, allocations: 11.98 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.006408, allocations: 3.984 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.00642, allocations: 8 kB / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.006455, allocations: 87.34 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006455, allocations: 0 / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000407/0.006862, allocations: 12 kB / 0.6224 GB, free: 8.914 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 (4): * Single equations (assignments): 3 * 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.0002776/0.007139, allocations: 0.6241 MB / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.007247, allocations: 27.98 kB / 0.623 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007249, allocations: 0 / 0.623 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.007279, allocations: 19.92 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.007407, allocations: 13.89 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.008218, allocations: 1.176 MB / 0.6242 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.008259, allocations: 63.34 kB / 0.6243 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.008294, allocations: 8.516 kB / 0.6243 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.008333, allocations: 12.5 kB / 0.6243 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.008333, allocations: 0 / 0.6243 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.025, allocations: 2.487 MB / 0.6267 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.941, allocations: 1.312 kB / 0.6267 GB, free: 4.57 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.846893682144582] Failed to read output from testmodel.py, exit status != 0: 7.020575416274369 7.031788544 7.025900996 Calling exit ...