Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.005607/0.005607, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8476/0.8476, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.2 MB / 406.8 MB, free: 3.266 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.001071/0.001071, allocations: 93.28 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.000331, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4498, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.6449, allocations: 112 MB / 0.7589 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.6452, allocations: 79.95 kB / 0.759 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007505/0.6527, allocations: 2.756 MB / 0.7617 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6528, allocations: 0 / 0.7617 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6528, allocations: 0 / 0.7617 GB, free: 1.168 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.000436/0.6532, allocations: 351.2 kB / 0.762 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.6533, allocations: 8.031 kB / 0.762 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.6534, allocations: 42.5 kB / 0.7621 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.6534, allocations: 4 kB / 0.7621 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6536, allocations: 171 kB / 0.7622 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6536, allocations: 0 / 0.7622 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.6536, allocations: 0 / 0.7622 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.6538, allocations: 72.23 kB / 0.7623 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6538, allocations: 0 / 0.7623 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6538, allocations: 0 / 0.7623 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6538, allocations: 8 kB / 0.7623 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.6539, allocations: 11.94 kB / 0.7623 GB, free: 412 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.6543, allocations: 264.8 kB / 0.7626 GB, free: 96 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.6544, allocations: 42.56 kB / 0.7626 GB, free: 44 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.6544, allocations: 0 / 0.7626 GB, free: 44 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.6546, allocations: 67.42 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.6546, allocations: 0 / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002174/0.6548, allocations: 73.67 kB / 0.7627 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.6549, allocations: 102.8 kB / 0.7628 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.655, allocations: 104.9 kB / 0.7629 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.655, allocations: 25.7 kB / 0.763 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.6551, allocations: 84.12 kB / 0.763 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.6551, allocations: 19.75 kB / 0.7631 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.6551, allocations: 0 / 0.7631 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6552, allocations: 318.8 kB / 0.7634 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.6553, allocations: 15.98 kB / 0.7634 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.6553, allocations: 34.52 kB / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.6554, allocations: 8 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6554, allocations: 0 / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.148e-05/0.6555, allocations: 57.69 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6555, allocations: 4 kB / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6555, allocations: 4.031 kB / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6555, allocations: 4 kB / 0.7635 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.6556, allocations: 7.984 kB / 0.7635 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6556, allocations: 0 / 0.7635 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.6557, allocations: 11.98 kB / 0.7635 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.6557, allocations: 7.938 kB / 0.7635 GB, free: 15.03 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/0.6558, allocations: 117.7 kB / 0.7636 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.6558, allocations: 4 kB / 0.7636 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.6559, allocations: 11.5 kB / 0.7636 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6559, allocations: 0 / 0.7636 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6559, allocations: 0 / 0.7636 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6559, allocations: 0 / 0.7636 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.656, allocations: 177.5 kB / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.656, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.656, allocations: 4 kB / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6561, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6561, allocations: 4 kB / 0.7638 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6561, allocations: 0 / 0.7638 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6561, allocations: 0 / 0.7638 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6562, allocations: 98.06 kB / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.6563, allocations: 89.27 kB / 0.764 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.6563, allocations: 0 / 0.764 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.6564, allocations: 15.98 kB / 0.764 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.6565, allocations: 7.922 kB / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.6565, allocations: 8 kB / 0.764 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.6565, allocations: 87.27 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6565, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001871/0.6567, allocations: 16 kB / 0.7641 GB, free: 14.3 MB / 0.5417 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 (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.0003835/0.6571, allocations: 0.6241 MB / 0.7647 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.6572, allocations: 35.92 kB / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6572, allocations: 4 kB / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.6573, allocations: 12 kB / 0.7648 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.6574, allocations: 2.578 kB / 0.7648 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.658, allocations: 410.1 kB / 0.7652 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.6582, allocations: 0.6849 MB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.6583, allocations: 7.938 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.6583, allocations: 7.438 kB / 0.7659 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6583, allocations: 0 / 0.7659 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.6703, allocations: 1.502 MB / 0.7673 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.6706, allocations: 213.2 kB / 0.7675 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.154, allocations: 0 / 0.7675 GB, free: 10.87 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)