Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006898/0.006898, allocations: 98.47 kB / 15.73 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 193.1 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8144/0.8144, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 68.73 kB / 0.5858 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1405, allocations: 81.03 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002452/0.143, allocations: 1.434 MB / 0.6663 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.1434, allocations: 183.4 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.1435, allocations: 0 / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.1435, allocations: 0 / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1437, allocations: 23.84 kB / 0.6665 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1439, allocations: 51.86 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.144, allocations: 47.91 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.1441, allocations: 12 kB / 0.6666 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1441, allocations: 23.92 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.1442, allocations: 19.91 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1442, allocations: 4 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1443, allocations: 4 kB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.1443, allocations: 19.86 kB / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.1444, allocations: 19.92 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.1445, allocations: 48.08 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1445, allocations: 0 / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1445, allocations: 0 / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1445, allocations: 0 / 0.6667 GB, free: 3.691 MB / 0.4981 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.0005348/0.145, allocations: 347.4 kB / 0.6671 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1451, allocations: 9.109 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1451, allocations: 34.75 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.1451, allocations: 0.9375 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1453, allocations: 176.3 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1453, allocations: 384 / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1453, allocations: 4.375 kB / 0.6673 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1455, allocations: 80.73 kB / 0.6674 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1455, allocations: 3.938 kB / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1455, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1455, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.1456, allocations: 12 kB / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.146, allocations: 264.9 kB / 0.6676 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.1461, allocations: 50.45 kB / 0.6677 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.1461, allocations: 16.94 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1461, allocations: 0 / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.1463, allocations: 63.33 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1463, allocations: 0 / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.1465, allocations: 77.61 kB / 0.6678 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.1466, allocations: 102.8 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.1467, allocations: 109.9 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1467, allocations: 25.7 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1467, allocations: 88.08 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1468, allocations: 15.94 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.1468, allocations: 17.7 kB / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.147, allocations: 318.8 kB / 0.6685 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.147, allocations: 8 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.1471, allocations: 34.56 kB / 0.6685 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.1471, allocations: 28.8 kB / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1471, allocations: 0 / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.1472, allocations: 69.58 kB / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1473, allocations: 4 kB / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1473, allocations: 0 / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1473, allocations: 4 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.1473, allocations: 7.984 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1474, allocations: 0 / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1475, allocations: 19.89 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1475, allocations: 4 kB / 0.6686 GB, free: 1.465 MB / 0.4981 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.82e-05/0.1476, allocations: 117.8 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1476, allocations: 448 / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.1476, allocations: 3.5 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1476, allocations: 4 kB / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1476, allocations: 0 / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1476, allocations: 0 / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1478, allocations: 177.6 kB / 0.6689 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1478, allocations: 4 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.1478, allocations: 0 / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1478, allocations: 4 kB / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1478, allocations: 0 / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1479, allocations: 3.938 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1479, allocations: 0 / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.148, allocations: 101.1 kB / 0.669 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1481, allocations: 89.09 kB / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1481, allocations: 0 / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1482, allocations: 15.98 kB / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1483, allocations: 0 / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1483, allocations: 4 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.1483, allocations: 87.27 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1483, allocations: 0 / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001862/0.1485, allocations: 8 kB / 0.6692 GB, free: 0.7539 MB / 0.4981 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.0004588/0.149, allocations: 0.6358 MB / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1491, allocations: 27.98 kB / 0.6699 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1491, allocations: 4 kB / 0.6699 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1492, allocations: 15.94 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1493, allocations: 9.875 kB / 0.6699 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1504, allocations: 1.176 MB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1508, allocations: 0.6807 MB / 0.6717 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1508, allocations: 8 kB / 0.6717 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1508, allocations: 11.44 kB / 0.6717 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1509, allocations: 0 / 0.6717 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2253/0.3761, allocations: 1.772 MB / 0.6735 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.827, allocations: 6.188 kB / 0.6735 GB, free: 12.42 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)