Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001064/0.001064, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8592/0.8592, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1241, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002118/0.1262, allocations: 1.424 MB / 0.5958 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.1266, allocations: 187.4 kB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.1266, allocations: 0 / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1267, allocations: 3.938 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1268, allocations: 19.91 kB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.127, allocations: 54.11 kB / 0.596 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.337e-05/0.1271, allocations: 47.91 kB / 0.5961 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.1272, allocations: 11.92 kB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1272, allocations: 31.91 kB / 0.5961 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.1273, allocations: 15.98 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1273, allocations: 4 kB / 0.5962 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.1273, allocations: 4 kB / 0.5962 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.1273, allocations: 15.92 kB / 0.5962 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.1274, allocations: 15.92 kB / 0.5962 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.1275, allocations: 52.08 kB / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1275, allocations: 0 / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1275, allocations: 0 / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1275, allocations: 0 / 0.5962 GB, free: 7.586 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.0004118/0.1279, allocations: 347.4 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.1279, allocations: 8.031 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.128, allocations: 34.75 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.128, allocations: 0.9375 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.843e-05/0.1281, allocations: 176.2 kB / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1281, allocations: 384 / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1281, allocations: 8.375 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1283, allocations: 76.75 kB / 0.5969 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1283, allocations: 3.938 kB / 0.5969 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1283, allocations: 0 / 0.5969 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1283, allocations: 0 / 0.5969 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.1283, allocations: 12 kB / 0.5969 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.1287, allocations: 264.9 kB / 0.5971 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.1288, allocations: 46.45 kB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.1288, allocations: 20.94 kB / 0.5972 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.1288, allocations: 0 / 0.5972 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.1289, allocations: 67.39 kB / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1289, allocations: 0 / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.1291, allocations: 77.61 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1292, allocations: 102.8 kB / 0.5974 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.1292, allocations: 109.8 kB / 0.5975 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1293, allocations: 25.7 kB / 0.5976 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.1293, allocations: 88.05 kB / 0.5976 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1293, allocations: 7.906 kB / 0.5976 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1293, allocations: 21.7 kB / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.1294, allocations: 318.8 kB / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.1295, allocations: 4 kB / 0.598 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.1295, allocations: 38.94 kB / 0.598 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.1296, allocations: 32.8 kB / 0.598 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1296, allocations: 3.938 kB / 0.598 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.863e-05/0.1297, allocations: 57.69 kB / 0.5981 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1297, allocations: 7.938 kB / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.1297, allocations: 0 / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1297, allocations: 4 kB / 0.5981 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.1298, allocations: 7.984 kB / 0.5981 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1298, allocations: 0 / 0.5981 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1299, allocations: 11.98 kB / 0.5981 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1299, allocations: 8.031 kB / 0.5981 GB, free: 5.363 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 6.875e-05/0.13, allocations: 113.8 kB / 0.5982 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.13, allocations: 3.906 kB / 0.5983 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.13, allocations: 7.5 kB / 0.5983 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.13, allocations: 4.188 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.13, allocations: 3.938 kB / 0.5983 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.13, allocations: 3.984 kB / 0.5983 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1301, allocations: 177.5 kB / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1301, allocations: 0 / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.1302, allocations: 4 kB / 0.5984 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1302, allocations: 4 kB / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1302, allocations: 0 / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1302, allocations: 0 / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1302, allocations: 0 / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1303, allocations: 89.05 kB / 0.5985 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1304, allocations: 92.94 kB / 0.5986 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1304, allocations: 0 / 0.5986 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.1305, allocations: 20.05 kB / 0.5986 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1305, allocations: 4 kB / 0.5986 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1305, allocations: 4 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.1306, allocations: 87.27 kB / 0.5987 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1306, allocations: 0 / 0.5987 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001741/0.1308, allocations: 8 kB / 0.5987 GB, free: 4.652 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.0003424/0.1311, allocations: 0.6319 MB / 0.5994 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.1312, allocations: 39.92 kB / 0.5994 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1312, allocations: 0 / 0.5994 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.1313, allocations: 12 kB / 0.5994 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1314, allocations: 11.98 kB / 0.5994 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.1323, allocations: 1.157 MB / 0.6005 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1325, allocations: 0.6845 MB / 0.6012 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.1325, allocations: 4 kB / 0.6012 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1326, allocations: 15.44 kB / 0.6012 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1326, allocations: 96 / 0.6012 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1481, allocations: 1.759 MB / 0.603 GB, free: 384 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.108/6.256, allocations: 9.234 kB / 0.603 GB, free: 376 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)