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.00476/0.00476, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001219/0.001219, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.076/2.076, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.6062, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001955/0.6082, allocations: 1.461 MB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.6085, allocations: 189.3 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.6085, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.6086, allocations: 2.781 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.6088, allocations: 30.38 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.6089, allocations: 53.33 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.609, allocations: 60.52 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.6091, allocations: 4.969 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.6091, allocations: 27.41 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.6092, allocations: 19.05 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.6092, allocations: 3.969 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.6092, allocations: 4.469 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.6093, allocations: 18.06 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.6093, allocations: 21.58 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.506e-05/0.6094, allocations: 52.02 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6094, allocations: 4 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6094, allocations: 0 / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.6094, allocations: 1.281 kB / 1.089 GB, free: 4.008 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.0003673/0.6098, allocations: 353.3 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.6098, allocations: 9.844 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.398e-05/0.6098, allocations: 36.39 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.6099, allocations: 7.438 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.6099, allocations: 172.9 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.61, allocations: 7.047 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.61, allocations: 1.562 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.6101, allocations: 75.09 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6101, allocations: 3.938 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6101, allocations: 5.609 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6101, allocations: 0.8438 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.6102, allocations: 19.58 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.6104, allocations: 275.6 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.6105, allocations: 42.22 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.6106, allocations: 17.02 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.6106, allocations: 0 / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.6107, allocations: 67.3 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.6107, allocations: 4 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.6109, allocations: 74.12 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.6109, allocations: 104.4 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.611, allocations: 103.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.611, allocations: 26.58 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.611, allocations: 87.78 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.611, allocations: 10.67 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.6111, allocations: 21.84 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.109e-05/0.6111, allocations: 325 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.6111, allocations: 11.61 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.6112, allocations: 30.98 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.6112, allocations: 26 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6112, allocations: 0 / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.222e-05/0.6113, allocations: 59 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.6113, allocations: 5.969 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6113, allocations: 0.7969 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6113, allocations: 1.125 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.6114, allocations: 14.16 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.6114, allocations: 5.094 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.6115, allocations: 12.22 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6116, allocations: 6.031 kB / 1.091 GB, free: 2.059 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.142e-05/0.6116, allocations: 121.9 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.6116, allocations: 2.719 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.6116, allocations: 5.391 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6117, allocations: 1.062 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6117, allocations: 4 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6117, allocations: 1.641 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.051e-05/0.6117, allocations: 175.5 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6117, allocations: 1.609 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.6118, allocations: 3.219 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6118, allocations: 0.7969 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.6118, allocations: 1.062 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6118, allocations: 0.5625 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6118, allocations: 0.8438 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.6119, allocations: 101.9 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.6119, allocations: 86.56 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.612, allocations: 5.609 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.6121, allocations: 8.656 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.6121, allocations: 4.469 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6121, allocations: 1.969 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.6121, allocations: 85.94 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.6122, allocations: 0 / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001845/0.6123, allocations: 14.75 kB / 1.092 GB, free: 1.445 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.0002613/0.6126, allocations: 0.6393 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.6127, allocations: 29.16 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6127, allocations: 1.125 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.6128, allocations: 14.34 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.6129, allocations: 6.766 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.6137, allocations: 1.173 MB / 1.094 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.6139, allocations: 0.6791 MB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.614, allocations: 6.078 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.614, allocations: 11.38 kB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.614, allocations: 0 / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.706, allocations: 1.786 MB / 1.096 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/10.11, allocations: 6 kB / 1.096 GB, free: 14.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)