Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007508/0.0007508, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008566/0.0008566, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9311/0.9311, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7836/0.7836, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 64.72 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/0.5214, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00196/0.5233, allocations: 1.486 MB / 0.8193 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004576/0.5238, allocations: 181.2 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.5238, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.5239, allocations: 4.594 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.5241, allocations: 20.06 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.5243, allocations: 54.09 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.5244, allocations: 59 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5245, allocations: 5.344 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.5246, allocations: 21.78 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.5247, allocations: 22.28 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.5247, allocations: 3.875 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.5247, allocations: 4.344 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.5247, allocations: 16.52 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.5248, allocations: 25.12 kB / 0.8197 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.5249, allocations: 45.92 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5249, allocations: 3.938 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.376e-06/0.5249, allocations: 0 / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5249, allocations: 0 / 0.8197 GB, free: 15.79 MB / 0.6198 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.0005424/0.5255, allocations: 282 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5255, allocations: 10.41 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.5255, allocations: 31.41 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.5256, allocations: 3.406 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.5257, allocations: 113.4 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5257, allocations: 4.375 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.5257, allocations: 4.25 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.5259, allocations: 130.6 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5259, allocations: 7.875 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5259, allocations: 0.6094 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5259, allocations: 1 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.5259, allocations: 15.95 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.5263, allocations: 238.8 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.5264, allocations: 42.84 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.5264, allocations: 19.98 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5264, allocations: 0.5625 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.5266, allocations: 59.14 kB / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5266, allocations: 0 / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.5268, allocations: 79.3 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5269, allocations: 108.8 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.5269, allocations: 105.3 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.527, allocations: 25.7 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.527, allocations: 87.41 kB / 0.821 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.527, allocations: 11.12 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.5271, allocations: 21.11 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5272, allocations: 322.5 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.5272, allocations: 10 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.5272, allocations: 91.34 kB / 0.8214 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.5273, allocations: 26.44 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5273, allocations: 0 / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.992e-05/0.5274, allocations: 64.89 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5274, allocations: 8.938 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5274, allocations: 0 / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5274, allocations: 0.5625 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.5275, allocations: 7 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5275, allocations: 5.625 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.5276, allocations: 8.156 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-06/0.5276, allocations: 2.234 kB / 0.8216 GB, free: 13.92 MB / 0.6198 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 7.265e-05/0.5276, allocations: 117.5 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.5276, allocations: 2.156 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.5277, allocations: 9.797 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5277, allocations: 0.9375 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5277, allocations: 1.094 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5277, allocations: 0.6094 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.5278, allocations: 145.1 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.5278, allocations: 4 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.5278, allocations: 7.266 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5278, allocations: 0.6562 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5278, allocations: 0.7031 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5278, allocations: 3.938 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5278, allocations: 0 / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.5279, allocations: 97.75 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.528, allocations: 8.734 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.528, allocations: 6.531 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.528, allocations: 7.547 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.5281, allocations: 9.922 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5281, allocations: 0.7031 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.5281, allocations: 86.22 kB / 0.8221 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5281, allocations: 0 / 0.8221 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001304/0.5282, allocations: 19.22 kB / 0.8221 GB, free: 13.43 MB / 0.6198 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.0003651/0.5286, allocations: 0.63 MB / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.5287, allocations: 26.53 kB / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5287, allocations: 0 / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.5288, allocations: 19.69 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.5289, allocations: 6.422 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.5298, allocations: 1.174 MB / 0.8239 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.5298, allocations: 69.61 kB / 0.824 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.5298, allocations: 9.734 kB / 0.824 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.5299, allocations: 10.12 kB / 0.824 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.5299, allocations: 0 / 0.824 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.5452, allocations: 2.351 MB / 0.8263 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/7.372, allocations: 7 kB / 0.8263 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.348214882425964] Failed to read output from testmodel.py, exit status != 0: 7.451486342120916 7.462622259 6.935663511 Calling exit ...