Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004216/0.004216, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001198/0.001198, allocations: 193.7 kB / 16.68 MB, free: 6.363 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7514/0.7514, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 64.44 kB / 0.5809 GB, free: 1.238 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1345, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002459/0.137, allocations: 1.427 MB / 0.6606 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.1374, allocations: 193.5 kB / 0.6608 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.1374, allocations: 0 / 0.6608 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.1375, allocations: 3.938 kB / 0.6608 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1377, allocations: 23.84 kB / 0.6608 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.1379, allocations: 55.86 kB / 0.6609 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.138, allocations: 47.91 kB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.322e-05/0.1381, allocations: 11.98 kB / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.1381, allocations: 23.92 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.1382, allocations: 15.92 kB / 0.661 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1382, allocations: 4 kB / 0.661 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.1382, allocations: 4 kB / 0.661 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.1383, allocations: 23.91 kB / 0.661 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1383, allocations: 15.92 kB / 0.661 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.1384, allocations: 44.09 kB / 0.6611 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1384, allocations: 0 / 0.6611 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1384, allocations: 0 / 0.6611 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1384, allocations: 0 / 0.6611 GB, free: 12.18 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.0005091/0.1389, allocations: 351.4 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.139, allocations: 12.03 kB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.139, allocations: 30.75 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1391, allocations: 4.938 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1392, allocations: 172.3 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1392, allocations: 8.375 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1392, allocations: 4.375 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1394, allocations: 72.73 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1394, allocations: 3.938 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1394, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1394, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.1395, allocations: 20 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1399, allocations: 260.9 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.14, allocations: 42.45 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.14, allocations: 16.94 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.14, allocations: 3.938 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.1402, allocations: 67.39 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1402, allocations: 0 / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002035/0.1404, allocations: 77.58 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.1405, allocations: 106.8 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1405, allocations: 101.9 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1406, allocations: 29.7 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.1406, allocations: 84.12 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1406, allocations: 7.953 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1407, allocations: 21.72 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1408, allocations: 322.8 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.1409, allocations: 11.94 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.1409, allocations: 34.56 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.141, allocations: 24.8 kB / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.141, allocations: 0 / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.1411, allocations: 65.58 kB / 0.6629 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1411, allocations: 8.031 kB / 0.6629 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1411, allocations: 0 / 0.6629 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1411, allocations: 4 kB / 0.6629 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.1412, allocations: 7.984 kB / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1412, allocations: 0 / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1413, allocations: 12.38 kB / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1413, allocations: 7.984 kB / 0.663 GB, free: 9.949 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.894e-05/0.1414, allocations: 118.4 kB / 0.6631 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.1415, allocations: 4 kB / 0.6631 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.1415, allocations: 3.5 kB / 0.6631 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1415, allocations: 8 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1415, allocations: 0 / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1415, allocations: 0 / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1416, allocations: 173.6 kB / 0.6633 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1417, allocations: 0 / 0.6633 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.1417, allocations: 4 kB / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1417, allocations: 0 / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1417, allocations: 0 / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1417, allocations: 3.938 kB / 0.6633 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1417, allocations: 7.938 kB / 0.6633 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1419, allocations: 101.2 kB / 0.6634 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1419, allocations: 81.09 kB / 0.6634 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1419, allocations: 4 kB / 0.6634 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.142, allocations: 14.94 kB / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1421, allocations: 0 / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1421, allocations: 4 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.1422, allocations: 91.27 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1422, allocations: 0 / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001837/0.1423, allocations: 8 kB / 0.6636 GB, free: 9.234 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.0004228/0.1428, allocations: 0.6319 MB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1429, allocations: 27.98 kB / 0.6642 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1429, allocations: 4 kB / 0.6642 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.143, allocations: 15.94 kB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1431, allocations: 9.562 kB / 0.6642 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1441, allocations: 1.178 MB / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1444, allocations: 0.6768 MB / 0.666 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.1444, allocations: 8 kB / 0.6661 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1445, allocations: 11.44 kB / 0.6661 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1445, allocations: 0 / 0.6661 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2524/0.3968, allocations: 1.753 MB / 0.6678 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.932, allocations: 4 kB / 0.6678 GB, free: 4.934 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)