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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001117/0.001117, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.802/0.802, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 69.8 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 80.92 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002231/0.1213, allocations: 1.496 MB / 0.5853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.1216, allocations: 179.4 kB / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1217, allocations: 0 / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.1217, allocations: 0 / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1219, allocations: 23.91 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.122, allocations: 51.05 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1221, allocations: 47.86 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.1222, allocations: 11.98 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.1222, allocations: 19.92 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.1223, allocations: 15.97 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1223, allocations: 4 kB / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.1224, allocations: 0 / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.1224, allocations: 15.94 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1224, allocations: 23.84 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.486e-05/0.1225, allocations: 40.16 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1225, allocations: 3.938 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1225, allocations: 3.938 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.1225, allocations: 0 / 0.5857 GB, free: 2.938 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.0004107/0.1229, allocations: 339.5 kB / 0.586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.123, allocations: 12.03 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.123, allocations: 30.75 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.1231, allocations: 4.938 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1232, allocations: 180.2 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1232, allocations: 384 / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1232, allocations: 4.375 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1233, allocations: 72.75 kB / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1233, allocations: 3.938 kB / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1234, allocations: 0 / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1234, allocations: 0 / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.1234, allocations: 19.98 kB / 0.5863 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1237, allocations: 264.9 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.1238, allocations: 42.5 kB / 0.5866 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.1239, allocations: 16.8 kB / 0.5866 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1239, allocations: 4 kB / 0.5866 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.124, allocations: 59.48 kB / 0.5867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.124, allocations: 0 / 0.5867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.1242, allocations: 77.58 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1243, allocations: 102.8 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.1243, allocations: 113.8 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1244, allocations: 25.7 kB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.1244, allocations: 80.14 kB / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1244, allocations: 15.91 kB / 0.5871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1245, allocations: 21.7 kB / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.1245, allocations: 314.8 kB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.1246, allocations: 8 kB / 0.5874 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.1246, allocations: 34.81 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.1247, allocations: 32.91 kB / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1247, allocations: 0 / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001094/0.1248, allocations: 65.67 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1248, allocations: 4 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1249, allocations: 3.938 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1249, allocations: 8.172 kB / 0.5876 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.1249, allocations: 4 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.125, allocations: 0 / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1251, allocations: 11.89 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1251, allocations: 7.984 kB / 0.5876 GB, free: 0.7227 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 7.119e-05/0.1252, allocations: 117.8 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1252, allocations: 4 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.1252, allocations: 7.438 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1252, allocations: 4 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1252, allocations: 0 / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1252, allocations: 3.984 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1253, allocations: 169.6 kB / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1253, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.1254, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1254, allocations: 4 kB / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1254, allocations: 0 / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1254, allocations: 4 kB / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1254, allocations: 0 / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1255, allocations: 96.98 kB / 0.588 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1256, allocations: 92.94 kB / 0.5881 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1256, allocations: 4.062 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1257, allocations: 11.98 kB / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.1257, allocations: 0 / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1258, allocations: 11.98 kB / 0.5881 GB, free: 104 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.1258, allocations: 83.28 kB / 0.5882 GB, free: 20 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1258, allocations: 0 / 0.5882 GB, free: 20 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.126, allocations: 8 kB / 0.5882 GB, free: 12 kB / 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.0003497/0.1264, allocations: 0.6319 MB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.455e-05/0.1265, allocations: 31.98 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1265, allocations: 4 kB / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.1265, allocations: 12 kB / 0.5889 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.1267, allocations: 7.984 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.1276, allocations: 1.17 MB / 0.59 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.1277, allocations: 0.6809 MB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.1278, allocations: 4.094 kB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.1278, allocations: 19.38 kB / 0.5907 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1278, allocations: 0 / 0.5907 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/0.2651, allocations: 1.587 MB / 0.5922 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.2653, allocations: 236.1 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.676, allocations: 0 / 0.5925 GB, free: 11.66 MB / 0.4981 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)