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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001106/0.001106, allocations: 200.2 kB / 16.26 MB, free: 6.617 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6625/0.6625, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 59.44 kB / 0.5014 GB, free: 9.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1178, allocations: 80.22 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002152/0.12, allocations: 1.484 MB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.1204, allocations: 191.3 kB / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.1204, allocations: 0 / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.1204, allocations: 0 / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1206, allocations: 16.92 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.1207, allocations: 49.94 kB / 0.5814 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.1208, allocations: 55.83 kB / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.1209, allocations: 12 kB / 0.5815 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.1209, allocations: 19.92 kB / 0.5815 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.121, allocations: 15.98 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.121, allocations: 4 kB / 0.5815 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.121, allocations: 4 kB / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.1211, allocations: 15.91 kB / 0.5815 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1211, allocations: 15.94 kB / 0.5815 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.1212, allocations: 44.14 kB / 0.5816 GB, free: 7.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1212, allocations: 3.938 kB / 0.5816 GB, free: 7.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1212, allocations: 4 kB / 0.5816 GB, free: 7.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1212, allocations: 0 / 0.5816 GB, free: 7.098 MB / 494.1 MB 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.0003995/0.1216, allocations: 347.5 kB / 0.5819 GB, free: 6.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.1216, allocations: 8.031 kB / 0.5819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.1217, allocations: 34.69 kB / 0.5819 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1217, allocations: 8.844 kB / 0.582 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.1218, allocations: 172.3 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1218, allocations: 4.375 kB / 0.5821 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1219, allocations: 4.359 kB / 0.5821 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.122, allocations: 64.83 kB / 0.5822 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.122, allocations: 3.938 kB / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.122, allocations: 0 / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.122, allocations: 4 kB / 0.5822 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.122, allocations: 15.92 kB / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1224, allocations: 265 kB / 0.5825 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.1224, allocations: 42.5 kB / 0.5825 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.1225, allocations: 20.84 kB / 0.5825 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.1225, allocations: 0 / 0.5825 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.1226, allocations: 71.41 kB / 0.5826 GB, free: 5.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1226, allocations: 0 / 0.5826 GB, free: 5.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001651/0.1228, allocations: 73.59 kB / 0.5827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1228, allocations: 106.8 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.1229, allocations: 101.8 kB / 0.5829 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1229, allocations: 29.7 kB / 0.5829 GB, free: 5.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.123, allocations: 84.14 kB / 0.583 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.123, allocations: 11.89 kB / 0.583 GB, free: 5.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.123, allocations: 17.72 kB / 0.583 GB, free: 5.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.1231, allocations: 318.8 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.1232, allocations: 12 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.1232, allocations: 38.88 kB / 0.5834 GB, free: 5.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.1232, allocations: 32.8 kB / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1233, allocations: 0 / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.561e-05/0.1233, allocations: 61.59 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1234, allocations: 4 kB / 0.5834 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.1234, allocations: 3.938 kB / 0.5835 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.1234, allocations: 0 / 0.5835 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.1234, allocations: 11.97 kB / 0.5835 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1235, allocations: 4 kB / 0.5835 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1236, allocations: 11.98 kB / 0.5835 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1236, allocations: 0 / 0.5835 GB, free: 4.879 MB / 494.1 MB 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.738e-05/0.1236, allocations: 122.4 kB / 0.5836 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.1237, allocations: 8 kB / 0.5836 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.1237, allocations: 3.5 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1237, allocations: 0 / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1237, allocations: 0 / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1237, allocations: 4 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.1238, allocations: 173.6 kB / 0.5838 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1238, allocations: 3.984 kB / 0.5838 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.1238, allocations: 7.938 kB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1238, allocations: 0 / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1239, allocations: 0 / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1239, allocations: 4 kB / 0.5838 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1239, allocations: 0 / 0.5838 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.124, allocations: 100.9 kB / 0.5839 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.124, allocations: 85.05 kB / 0.584 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1241, allocations: 8.047 kB / 0.584 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1242, allocations: 8 kB / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1242, allocations: 7.984 kB / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.1242, allocations: 0 / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.1243, allocations: 91.27 kB / 0.5841 GB, free: 4.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 0 / 0.5841 GB, free: 4.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001749/0.1244, allocations: 8 kB / 0.5841 GB, free: 4.152 MB / 494.1 MB 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.0003066/0.1248, allocations: 0.6244 MB / 0.5847 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.1249, allocations: 39.95 kB / 0.5847 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1249, allocations: 0 / 0.5847 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.1249, allocations: 16 kB / 0.5847 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.125, allocations: 4 kB / 0.5848 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.1259, allocations: 1.18 MB / 0.5859 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.126, allocations: 0.6807 MB / 0.5866 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1261, allocations: 7.938 kB / 0.5866 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1261, allocations: 19.42 kB / 0.5866 GB, free: 1.445 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1261, allocations: 0 / 0.5866 GB, free: 1.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/0.4134, allocations: 1.633 MB / 0.5882 GB, free: 20 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.4136, allocations: 232.5 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.893, allocations: 0 / 0.5884 GB, free: 15.77 MB / 0.4981 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/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)