Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IBPSA_latest_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.001154/0.001154, allocations: 100.1 kB / 15.88 MB, free: 12 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.001093/0.001093, allocations: 207.3 kB / 16.79 MB, free: 6.84 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 / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6055/0.6055, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 73.78 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1116, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002099/0.1138, allocations: 1.503 MB / 0.5573 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.1141, allocations: 183.4 kB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.1141, allocations: 0 / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.1142, allocations: 7.922 kB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1144, allocations: 22.92 kB / 0.5575 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1145, allocations: 43.94 kB / 0.5576 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.1146, allocations: 55.84 kB / 0.5576 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.1147, allocations: 7.984 kB / 0.5576 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.1147, allocations: 19.94 kB / 0.5577 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.1148, allocations: 31.89 kB / 0.5577 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1148, allocations: 0 / 0.5577 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.1148, allocations: 4 kB / 0.5577 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.1148, allocations: 11.98 kB / 0.5577 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1149, allocations: 15.88 kB / 0.5577 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.115, allocations: 52.08 kB / 0.5578 GB, free: 8.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.115, allocations: 0 / 0.5578 GB, free: 8.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.115, allocations: 0 / 0.5578 GB, free: 8.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.115, allocations: 3.938 kB / 0.5578 GB, free: 8.793 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000421/0.1154, allocations: 351.4 kB / 0.5581 GB, free: 8.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1155, allocations: 8.031 kB / 0.5581 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1155, allocations: 38.75 kB / 0.5581 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1155, allocations: 4.875 kB / 0.5582 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.1156, allocations: 172.3 kB / 0.5583 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1157, allocations: 4.375 kB / 0.5583 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1157, allocations: 4.375 kB / 0.5583 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1158, allocations: 80.75 kB / 0.5584 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1158, allocations: 7.938 kB / 0.5584 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1158, allocations: 0 / 0.5584 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1158, allocations: 0 / 0.5584 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.1159, allocations: 15.98 kB / 0.5584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1162, allocations: 268.9 kB / 0.5587 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.1163, allocations: 50.48 kB / 0.5587 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.1163, allocations: 16.86 kB / 0.5587 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1163, allocations: 0 / 0.5587 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.1165, allocations: 59.48 kB / 0.5588 GB, free: 7.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1165, allocations: 0 / 0.5588 GB, free: 7.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.1166, allocations: 85.52 kB / 0.5589 GB, free: 7.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1167, allocations: 102.8 kB / 0.559 GB, free: 7.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.1168, allocations: 109.8 kB / 0.5591 GB, free: 7.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1168, allocations: 25.7 kB / 0.5591 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.1168, allocations: 80.14 kB / 0.5592 GB, free: 7.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1169, allocations: 19.75 kB / 0.5592 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1169, allocations: 21.7 kB / 0.5592 GB, free: 7.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.117, allocations: 322.8 kB / 0.5595 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.117, allocations: 8 kB / 0.5595 GB, free: 6.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.1171, allocations: 42.56 kB / 0.5596 GB, free: 6.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.1171, allocations: 20.86 kB / 0.5596 GB, free: 6.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1171, allocations: 0 / 0.5596 GB, free: 6.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.917e-05/0.1172, allocations: 61.62 kB / 0.5597 GB, free: 6.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.1172, allocations: 4 kB / 0.5597 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1172, allocations: 0 / 0.5597 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.1173, allocations: 4 kB / 0.5597 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.1173, allocations: 4 kB / 0.5597 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1173, allocations: 448 / 0.5597 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1174, allocations: 7.984 kB / 0.5597 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1175, allocations: 15.97 kB / 0.5597 GB, free: 6.547 MB / 430.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.056e-05/0.1175, allocations: 117.8 kB / 0.5598 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1176, allocations: 3.984 kB / 0.5598 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.1176, allocations: 11.44 kB / 0.5598 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1176, allocations: 4 kB / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1176, allocations: 0 / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1176, allocations: 0 / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1177, allocations: 181.5 kB / 0.56 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1177, allocations: 0 / 0.56 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1177, allocations: 8 kB / 0.56 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1177, allocations: 0 / 0.56 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1178, allocations: 0 / 0.56 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1178, allocations: 3.938 kB / 0.56 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1178, allocations: 0 / 0.56 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1179, allocations: 93.05 kB / 0.5601 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1179, allocations: 85.09 kB / 0.5602 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.118, allocations: 0 / 0.5602 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1181, allocations: 11.98 kB / 0.5602 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.1181, allocations: 8 kB / 0.5602 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1181, allocations: 0 / 0.5602 GB, free: 5.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.1182, allocations: 83.27 kB / 0.5603 GB, free: 5.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1182, allocations: 0 / 0.5603 GB, free: 5.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.1184, allocations: 16 kB / 0.5603 GB, free: 5.836 MB / 430.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.0003301/0.1187, allocations: 0.636 MB / 0.5609 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.1188, allocations: 31.98 kB / 0.5609 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1188, allocations: 0 / 0.5609 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.1188, allocations: 15.94 kB / 0.561 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.119, allocations: 8 kB / 0.561 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.1199, allocations: 1.178 MB / 0.5621 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1201, allocations: 0.6848 MB / 0.5628 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.1201, allocations: 8.078 kB / 0.5628 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1201, allocations: 11.38 kB / 0.5628 GB, free: 3.121 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1201, allocations: 0 / 0.5628 GB, free: 3.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/0.2474, allocations: 1.605 MB / 0.5644 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.2476, allocations: 237.3 kB / 0.5646 GB, free: 1.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.7, allocations: 0 / 0.5646 GB, free: 1.43 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)