Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0009832/0.0009832, allocations: 80.44 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.0008177/0.0008177, allocations: 165.9 kB / 22.46 MB, free: 2.098 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.8968/0.8968, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7259/0.7259, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.928e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002841/0.00287, allocations: 1.475 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004827/0.003353, allocations: 187.2 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.0034, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.003434, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.003693, allocations: 19.81 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.003912, allocations: 58.47 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004032, allocations: 59.83 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004138, allocations: 7.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.004224, allocations: 31.91 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.004312, allocations: 19.97 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.004343, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.004356, allocations: 4 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.004384, allocations: 19.92 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.004426, allocations: 8 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.004562, allocations: 59.84 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.004565, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/0.004567, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.004572, allocations: 0 / 0.62 GB, free: 11.7 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.0005653/0.005137, allocations: 270.3 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.005188, allocations: 12.02 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.005233, allocations: 38.75 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.005274, allocations: 0.9375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.005403, allocations: 129.6 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.005421, allocations: 4.375 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.005433, allocations: 4.375 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.005623, allocations: 124.2 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00563, allocations: 4.125 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.005644, allocations: 384 / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.005651, allocations: 4.125 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.005718, allocations: 23.98 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.006106, allocations: 232 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006211, allocations: 34.56 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.006249, allocations: 20.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.006258, allocations: 0 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.006448, allocations: 67.42 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.00645, allocations: 0 / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.006679, allocations: 77.62 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.006742, allocations: 102.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.006824, allocations: 106 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.006842, allocations: 25.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.006887, allocations: 88.14 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.00691, allocations: 7.906 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.006959, allocations: 29.7 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.007053, allocations: 314.8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.007083, allocations: 4 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.007157, allocations: 97.97 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.007217, allocations: 32.78 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.007219, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.007328, allocations: 57.64 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.007346, allocations: 7.984 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007352, allocations: 0 / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.007365, allocations: 0 / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.007456, allocations: 8 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007461, allocations: 4.031 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.007555, allocations: 15.92 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.007564, allocations: 0 / 0.6219 GB, free: 9.531 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 8.635e-05/0.007651, allocations: 114.8 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.00767, allocations: 15.89 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.007691, allocations: 3.688 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.007694, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.007704, allocations: 7.984 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007708, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.007824, allocations: 140.7 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007826, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.007854, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.007857, allocations: 192 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.007865, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007867, allocations: 4.125 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007868, allocations: 0 / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.008017, allocations: 97.03 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.00806, allocations: 19.88 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.008079, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.008172, allocations: 11.98 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.008209, allocations: 8 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.008223, allocations: 3.984 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.008266, allocations: 83.28 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008267, allocations: 0 / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002234/0.00849, allocations: 12 kB / 0.6224 GB, free: 8.941 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.0003989/0.008889, allocations: 0.6202 MB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.009017, allocations: 35.92 kB / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009019, allocations: 0 / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.009059, allocations: 12 kB / 0.623 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.009237, allocations: 11.92 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.01038, allocations: 1.173 MB / 0.6242 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.01043, allocations: 75.27 kB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.01048, allocations: 4.25 kB / 0.6243 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.01052, allocations: 16.48 kB / 0.6243 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.01052, allocations: 4 kB / 0.6243 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.02733, allocations: 2.475 MB / 0.6267 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.088, allocations: 4.062 kB / 0.6267 GB, free: 4.559 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.861960675567389] Failed to read output from testmodel.py, exit status != 0: 7.169923214241862 7.177137736 7.170578495 Calling exit ...