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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001126, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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/2, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.466, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002033/0.4681, allocations: 1.514 MB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.4684, allocations: 194.1 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.4685, allocations: 0 / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.4685, allocations: 0 / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.4687, allocations: 21.41 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.4688, allocations: 53.75 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.4689, allocations: 56.59 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.469, allocations: 4.125 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.469, allocations: 27.86 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.4691, allocations: 22.12 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4691, allocations: 4.281 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.4691, allocations: 4.125 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4692, allocations: 14.89 kB / 0.9511 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.4692, allocations: 26.23 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.192e-05/0.4693, allocations: 47.8 kB / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4693, allocations: 0 / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4693, allocations: 0 / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.4693, allocations: 0 / 0.9512 GB, free: 7.598 MB / 0.7169 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.0003547/0.4697, allocations: 349.6 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.4697, allocations: 13.17 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.4697, allocations: 32.03 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.4698, allocations: 11.62 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.4698, allocations: 171.1 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4699, allocations: 5.844 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4699, allocations: 1.781 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.47, allocations: 71 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.47, allocations: 5.406 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.47, allocations: 0 / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.47, allocations: 1.25 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.4701, allocations: 25.11 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.4703, allocations: 281 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.4704, allocations: 34.92 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.4704, allocations: 19.31 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.4704, allocations: 9.281 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.4706, allocations: 66.27 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4706, allocations: 0 / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.4707, allocations: 71.36 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.4708, allocations: 104.2 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.4708, allocations: 100.8 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4708, allocations: 26.77 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.4709, allocations: 93.39 kB / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.4709, allocations: 14.28 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.4709, allocations: 22.86 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.4709, allocations: 316 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.471, allocations: 10.44 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.471, allocations: 39.28 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.4711, allocations: 24.55 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4711, allocations: 1.312 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.089e-05/0.4712, allocations: 64.16 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4712, allocations: 7.219 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.4712, allocations: 256 / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4712, allocations: 5.219 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.4713, allocations: 9.609 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.4713, allocations: 0 / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4714, allocations: 17.62 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4714, allocations: 1.25 kB / 0.9531 GB, free: 5.562 MB / 0.7169 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.078e-05/0.4714, allocations: 121.8 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.4715, allocations: 5.375 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.4715, allocations: 8.781 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4715, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4715, allocations: 1.281 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4715, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.4716, allocations: 173.5 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4716, allocations: 1.375 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4716, allocations: 2.75 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4716, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4716, allocations: 1.156 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4716, allocations: 4 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4716, allocations: 5.016 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/0.4717, allocations: 90.56 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.4718, allocations: 91.62 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.4718, allocations: 1.344 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.4719, allocations: 13.7 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.4719, allocations: 1.812 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4719, allocations: 13.11 kB / 0.9536 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.472, allocations: 84.69 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.472, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001783/0.4722, allocations: 10 kB / 0.9537 GB, free: 4.914 MB / 0.7169 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.0002312/0.4724, allocations: 0.6239 MB / 0.9543 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.4725, allocations: 41.64 kB / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4725, allocations: 1.344 kB / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.4725, allocations: 12.78 kB / 0.9544 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.4727, allocations: 6.453 kB / 0.9544 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.4734, allocations: 1.186 MB / 0.9555 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.4734, allocations: 0.6829 MB / 0.9562 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.4735, allocations: 8.719 kB / 0.9562 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.4735, allocations: 14.53 kB / 0.9562 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4735, allocations: 0 / 0.9562 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2551/0.7286, allocations: 1.669 MB / 0.9579 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.7288, allocations: 242.6 kB / 0.9581 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.248, allocations: 1.312 kB / 0.9581 GB, free: 1.344 MB / 0.7169 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)