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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001127, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 64.06 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 80.93 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002327/0.1227, allocations: 1.502 MB / 0.5853 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.123, allocations: 171.5 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.123, allocations: 4 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.1231, allocations: 7.922 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1233, allocations: 11.92 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1234, allocations: 59.42 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.1235, allocations: 39.92 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.1236, allocations: 4 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.1236, allocations: 27.86 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.1237, allocations: 19.91 kB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1237, allocations: 8 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.1237, allocations: 0 / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.1238, allocations: 11.98 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1238, allocations: 15.92 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.585e-05/0.1239, allocations: 40.09 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1239, allocations: 3.984 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1239, allocations: 0 / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.1239, allocations: 0 / 0.5857 GB, free: 2.957 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.0004193/0.1243, allocations: 345.6 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1244, allocations: 16.03 kB / 0.586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.1244, allocations: 34.75 kB / 0.5861 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1244, allocations: 4.938 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1246, allocations: 172.2 kB / 0.5862 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1246, allocations: 8.375 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1246, allocations: 384 / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1247, allocations: 68.75 kB / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1247, allocations: 3.938 kB / 0.5863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1247, allocations: 4 kB / 0.5863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1248, allocations: 0 / 0.5863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.1248, allocations: 16 kB / 0.5863 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.1251, allocations: 260.9 kB / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.1252, allocations: 42.45 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.1253, allocations: 20.94 kB / 0.5866 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.1253, allocations: 4 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.1254, allocations: 63.39 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1254, allocations: 0 / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.1256, allocations: 81.69 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1257, allocations: 102.8 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.1257, allocations: 109.7 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1258, allocations: 25.7 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1258, allocations: 96.12 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1258, allocations: 3.906 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1259, allocations: 25.7 kB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.126, allocations: 314.8 kB / 0.5874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.126, allocations: 8 kB / 0.5874 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.126, allocations: 34.56 kB / 0.5875 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.1261, allocations: 28.8 kB / 0.5875 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1261, allocations: 4.031 kB / 0.5875 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.024e-05/0.1262, allocations: 58.06 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1262, allocations: 8 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1262, allocations: 0 / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.1262, allocations: 0 / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.1263, allocations: 11.98 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1263, allocations: 0 / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1264, allocations: 19.89 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1264, allocations: 0 / 0.5876 GB, free: 0.7344 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.293e-05/0.1265, allocations: 117.8 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1265, allocations: 4 kB / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.1266, allocations: 7.5 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1266, allocations: 0 / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1266, allocations: 0 / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1266, allocations: 0 / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1267, allocations: 177.6 kB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1267, allocations: 0 / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.1267, allocations: 7.938 kB / 0.5879 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1267, allocations: 0 / 0.5879 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1267, allocations: 4 kB / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1267, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1267, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1269, allocations: 93.05 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1269, allocations: 88.94 kB / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1269, allocations: 4 kB / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1271, allocations: 11.98 kB / 0.5881 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.1271, allocations: 8 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1271, allocations: 3.938 kB / 0.5881 GB, free: 120 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.1271, allocations: 87.27 kB / 0.5882 GB, free: 32 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1272, allocations: 0 / 0.5882 GB, free: 32 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1273, allocations: 12 kB / 0.5882 GB, free: 20 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.0003401/0.1277, allocations: 0.6318 MB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/0.1278, 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.522e-06/0.1278, allocations: 0 / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.1278, allocations: 15.94 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.128, allocations: 8 kB / 0.5889 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.1289, allocations: 1.167 MB / 0.59 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1291, allocations: 0.6809 MB / 0.5907 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.1291, allocations: 12.27 kB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1291, allocations: 15.44 kB / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1291, allocations: 0 / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.2332, allocations: 1.58 MB / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.2334, allocations: 241.7 kB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.677, allocations: 2.188 kB / 0.5925 GB, free: 11.67 MB / 0.4981 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/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)