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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8292/0.8292, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 107.4 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.924e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4492, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.592, allocations: 111.3 MB / 0.7426 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5923, allocations: 83.94 kB / 0.7427 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007329/0.5996, allocations: 2.727 MB / 0.7453 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5997, allocations: 0 / 0.7453 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.5997, allocations: 4 kB / 0.7453 GB, free: 8.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003479/0.6, allocations: 334.5 kB / 0.7457 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6001, allocations: 12.03 kB / 0.7457 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.6001, allocations: 7.906 kB / 0.7457 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.6003, allocations: 171 kB / 0.7458 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6003, allocations: 4 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.6003, allocations: 0 / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.74e-05/0.6004, allocations: 15.94 kB / 0.7459 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.6005, allocations: 60.25 kB / 0.7459 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6005, allocations: 4 kB / 0.7459 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6005, allocations: 4 kB / 0.7459 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.6005, allocations: 0 / 0.7459 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.6009, allocations: 241.5 kB / 0.7462 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.6009, allocations: 38.5 kB / 0.7462 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.601, allocations: 12.86 kB / 0.7462 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.601, allocations: 0 / 0.7462 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.6011, allocations: 71.47 kB / 0.7463 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6011, allocations: 0 / 0.7463 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.6013, allocations: 61.59 kB / 0.7463 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.6014, allocations: 102.8 kB / 0.7464 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.6014, allocations: 104.9 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.6015, allocations: 25.7 kB / 0.7466 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.6015, allocations: 80.14 kB / 0.7466 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.6015, allocations: 19.84 kB / 0.7466 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.6016, allocations: 0 / 0.7466 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6017, allocations: 314.8 kB / 0.7469 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.6017, allocations: 15.92 kB / 0.747 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.6017, allocations: 26.58 kB / 0.747 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.6018, allocations: 12.38 kB / 0.747 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6018, allocations: 0 / 0.747 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.492e-05/0.6019, allocations: 61.62 kB / 0.7471 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6019, allocations: 8 kB / 0.7471 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6019, allocations: 3.938 kB / 0.7471 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6019, allocations: 4 kB / 0.7471 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.602, allocations: 11.92 kB / 0.7471 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.602, allocations: 0 / 0.7471 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.6021, allocations: 8 kB / 0.7471 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6021, allocations: 7.969 kB / 0.7471 GB, free: 6.551 MB / 0.5261 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.6022, allocations: 112.9 kB / 0.7472 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.489e-05/0.6023, allocations: 57.69 kB / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.6023, allocations: 0 / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.6023, allocations: 12.12 kB / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6024, allocations: 0 / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6024, allocations: 0 / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6024, allocations: 3.984 kB / 0.7473 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6025, allocations: 146.1 kB / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6025, allocations: 4 kB / 0.7474 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.6025, allocations: 3.938 kB / 0.7474 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6025, allocations: 0 / 0.7474 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6025, allocations: 8 kB / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6025, allocations: 0 / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6026, allocations: 0 / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.6027, allocations: 85.06 kB / 0.7475 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.6027, allocations: 89.09 kB / 0.7476 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.6028, allocations: 0 / 0.7476 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.6029, allocations: 11.98 kB / 0.7476 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.6029, allocations: 4 kB / 0.7476 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.6029, allocations: 4 kB / 0.7476 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.603, allocations: 87.33 kB / 0.7477 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.603, allocations: 0 / 0.7477 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001981/0.6032, allocations: 8 kB / 0.7477 GB, free: 5.84 MB / 0.5261 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/0.6035, allocations: 0.6403 MB / 0.7483 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.6036, allocations: 24.19 kB / 0.7484 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6037, allocations: 0 / 0.7484 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.6037, allocations: 12 kB / 0.7484 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.6038, allocations: 4 kB / 0.7484 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.6041, allocations: 101.7 kB / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.6044, allocations: 0.6807 MB / 0.7491 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.6044, allocations: 11.98 kB / 0.7491 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.6044, allocations: 15.42 kB / 0.7492 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6044, allocations: 0 / 0.7492 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.6241, allocations: 1.16 MB / 0.7503 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.6244, allocations: 175.6 kB / 0.7505 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.071, allocations: 0 / 0.7505 GB, free: 2.918 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)