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.0008402/0.0008402, 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.001156/0.001156, 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.9394/0.9394, allocations: 230.6 MB / 256 MB, free: 9.602 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.7968/0.7968, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001495/0.001495, allocations: 66.66 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5146, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001894/0.5165, allocations: 1.485 MB / 0.8193 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003941/0.5169, allocations: 174.3 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.517, allocations: 3.938 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.517, allocations: 6.281 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.5172, allocations: 18.84 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.5174, allocations: 54.81 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.5174, allocations: 56.7 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.5175, allocations: 7.484 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.5176, allocations: 27.05 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.5177, allocations: 23.5 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.5177, allocations: 5.344 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.5177, allocations: 5.438 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.5177, allocations: 10.38 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.5178, allocations: 20.25 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.5178, allocations: 47.86 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5179, allocations: 0 / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5179, allocations: 0 / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5179, allocations: 0.7031 kB / 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.0004319/0.5183, allocations: 286.2 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5183, allocations: 11.53 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.5184, allocations: 31.97 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.5184, allocations: 3.281 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.717e-05/0.5185, allocations: 105.9 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5185, allocations: 8.469 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.5185, allocations: 3.844 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5186, allocations: 133 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5187, allocations: 3.938 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5187, allocations: 1.5 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5187, allocations: 4 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.5187, allocations: 21.62 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.519, allocations: 237.9 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.5191, allocations: 36.91 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.5191, allocations: 16.14 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.5192, allocations: 3.938 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.5193, allocations: 65.45 kB / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.5193, allocations: 0 / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.5195, allocations: 74.38 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5195, allocations: 107.4 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.5196, allocations: 104.8 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5196, allocations: 32.17 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.5197, allocations: 87.73 kB / 0.821 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5197, allocations: 8.5 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.5197, allocations: 25.3 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.5198, allocations: 320.5 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.5198, allocations: 11.23 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.5199, allocations: 84.33 kB / 0.8214 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.5199, allocations: 22.97 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5199, allocations: 2.125 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.981e-05/0.52, allocations: 71.69 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.52, allocations: 7 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.52, allocations: 0 / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.52, allocations: 0 / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.5201, allocations: 8.391 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5201, allocations: 0 / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.5201, allocations: 7.328 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5202, allocations: 10.69 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 6.215e-05/0.5202, allocations: 118 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.5202, allocations: 7.375 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.5202, allocations: 4.297 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5202, allocations: 0 / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5202, allocations: 1.75 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5202, allocations: 0.6094 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.45e-05/0.5203, allocations: 142.1 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5203, allocations: 4.906 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.5203, allocations: 3.375 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5203, allocations: 0.8906 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5204, allocations: 5.438 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5204, allocations: 4.641 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5204, allocations: 4 kB / 0.8219 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.161e-05/0.5204, allocations: 95.33 kB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.5205, allocations: 5.828 kB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5205, allocations: 6.156 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.5205, allocations: 10 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.5206, allocations: 2.484 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5206, allocations: 2.094 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.5206, allocations: 86.55 kB / 0.8221 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5206, allocations: 2 kB / 0.8221 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001312/0.5208, allocations: 14.03 kB / 0.8221 GB, free: 13.44 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.0005878/0.5213, allocations: 0.6351 MB / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.5214, allocations: 28.56 kB / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5214, allocations: 0 / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.5215, allocations: 14.86 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.0001175/0.5216, 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.0007924/0.5224, allocations: 1.174 MB / 0.8239 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.5224, allocations: 61.72 kB / 0.8239 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.5225, allocations: 9.594 kB / 0.8239 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.5225, allocations: 15.5 kB / 0.824 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5225, allocations: 0 / 0.824 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.5375, allocations: 2.36 MB / 0.8263 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.284/6.822, allocations: 4.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 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: 9.654363819863647] Failed to read output from testmodel.py, exit status != 0: 6.898555780760944 6.911845084 6.391793301 Calling exit ...