Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_Buildings_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.005298/0.005298, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.00124/0.001241, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.092/2.092, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7344, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002417/0.7369, allocations: 1.458 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.7373, allocations: 193 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.7373, allocations: 0 / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.7374, allocations: 4.594 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.7376, allocations: 20.69 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.7378, allocations: 58.73 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.7379, allocations: 55 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.738, allocations: 13.38 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.7381, allocations: 26.5 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.7382, allocations: 20.02 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.7382, allocations: 4.406 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.7382, allocations: 4.469 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.7382, allocations: 8.562 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.7383, allocations: 27.17 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.7384, allocations: 44.28 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7384, allocations: 5.281 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7384, allocations: 0 / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7384, allocations: 4 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB 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.0004447/0.7389, allocations: 351.8 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7389, allocations: 12.91 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.7389, allocations: 36.27 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.739, allocations: 4.141 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.7391, allocations: 173.3 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.7391, allocations: 1.969 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.7391, allocations: 2.406 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.7392, allocations: 78.78 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7393, allocations: 3.938 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7393, allocations: 5.438 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7393, allocations: 1.156 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.7393, allocations: 16.59 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.7396, allocations: 274.1 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.7397, allocations: 46.45 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.7398, allocations: 15.94 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.7398, allocations: 1.797 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.7399, allocations: 62.53 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7399, allocations: 1 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002005/0.7401, allocations: 77.11 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7402, allocations: 112.6 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.7403, allocations: 103.7 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.7403, allocations: 30.7 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.7403, allocations: 83 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7403, allocations: 11.27 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.7404, allocations: 22.62 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.7404, allocations: 320.7 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.7405, allocations: 10.86 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.7405, allocations: 40.14 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.7406, allocations: 26.02 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7406, allocations: 0 / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.801e-05/0.7407, allocations: 58.73 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7407, allocations: 5.875 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7407, allocations: 0.7969 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7407, allocations: 1.031 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.7408, allocations: 9.828 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7408, allocations: 1.703 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.7409, allocations: 16.34 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.7409, allocations: 1.5 kB / 1.091 GB, free: 2.039 MB / 0.8575 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 5.769e-05/0.741, allocations: 118.2 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.741, allocations: 6.844 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.741, allocations: 4.953 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.741, allocations: 1.422 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.741, allocations: 3.938 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.741, allocations: 0.5156 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.7411, allocations: 177.8 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7411, allocations: 0 / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.7412, allocations: 3.281 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7412, allocations: 0.7031 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.7412, allocations: 1.609 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.7412, allocations: 0 / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7412, allocations: 6.016 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.7413, allocations: 88.28 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.7414, allocations: 96.06 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.7414, allocations: 5.984 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7415, allocations: 8.125 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.7415, allocations: 3.656 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7416, allocations: 1.688 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.7416, allocations: 86.5 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7416, allocations: 0.875 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001864/0.7418, allocations: 13.62 kB / 1.092 GB, free: 1.426 MB / 0.8575 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.0002723/0.7421, allocations: 0.6358 MB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.7422, allocations: 29.62 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7422, allocations: 0 / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.7422, allocations: 19.02 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.7424, allocations: 8.156 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.7434, allocations: 1.168 MB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.7436, allocations: 0.6841 MB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.7436, allocations: 9.312 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.7437, allocations: 11 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.7437, allocations: 1 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.7616, allocations: 1.785 MB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/7.534, allocations: 10.86 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)