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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008549/0.0008549, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004935/0.004935, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.007/2.007, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4744, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001164/0.4756, allocations: 1.182 MB / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.476, allocations: 181.8 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.476, allocations: 0 / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.476, allocations: 0 / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.4762, allocations: 18.09 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.4763, allocations: 55.47 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.4764, allocations: 57.16 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.4765, allocations: 7.938 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.4765, allocations: 18.39 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.4766, allocations: 22.41 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4766, allocations: 2.281 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.4766, allocations: 2.812 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.4767, allocations: 13.92 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.4767, allocations: 48.69 kB / 0.9567 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.499e-05/0.4768, allocations: 39.14 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4768, allocations: 8 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4768, allocations: 3.938 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.4768, allocations: 0 / 0.9568 GB, free: 6.371 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.000326/0.4771, allocations: 338.7 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4772, allocations: 9.594 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.4772, allocations: 36.19 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.4772, allocations: 7.438 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.695e-05/0.4773, allocations: 167.1 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4773, allocations: 5.781 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-06/0.4773, allocations: 6.344 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4774, allocations: 78.88 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.4775, allocations: 3.938 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4775, allocations: 1.156 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4775, allocations: 0 / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.4775, allocations: 17.08 kB / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.4778, allocations: 282.1 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.4779, allocations: 42.97 kB / 0.9577 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.4779, allocations: 14.89 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.4779, allocations: 1.188 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.478, allocations: 66.27 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.478, allocations: 0 / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.4782, allocations: 75.42 kB / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.4782, allocations: 108.1 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.4783, allocations: 105.8 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4783, allocations: 30.7 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.4783, allocations: 81.2 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.4784, allocations: 18.02 kB / 0.9582 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.4784, allocations: 10.72 kB / 0.9582 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.4784, allocations: 323.8 kB / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.4784, allocations: 9.906 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.4785, allocations: 32.41 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.4785, allocations: 24.42 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4785, allocations: 0 / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.898e-05/0.4786, allocations: 59.81 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4786, allocations: 6.875 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4787, allocations: 9.016 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.4787, allocations: 4.031 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.4787, allocations: 13.8 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.4787, allocations: 0 / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4788, allocations: 11.61 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4789, allocations: 2.156 kB / 0.9587 GB, free: 4.352 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 4.997e-05/0.4789, allocations: 117 kB / 0.9588 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.4789, allocations: 6.031 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.4789, allocations: 8.594 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.479, allocations: 1 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.479, allocations: 448 / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.479, allocations: 0 / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.884e-05/0.479, allocations: 174.3 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.479, allocations: 5.188 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.4791, allocations: 6.094 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4791, allocations: 1.094 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4791, allocations: 0 / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4791, allocations: 5.234 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4791, allocations: 0 / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.775e-05/0.4792, allocations: 91.84 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.4792, allocations: 87.5 kB / 0.9592 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4793, allocations: 5.281 kB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.4794, allocations: 13.36 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.4794, allocations: 5.453 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.4794, allocations: 2.094 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.4794, allocations: 88.66 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4794, allocations: 0 / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001762/0.4796, allocations: 9.562 kB / 0.9593 GB, free: 3.711 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.0002301/0.4799, allocations: 0.6356 MB / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.48, allocations: 33.02 kB / 0.96 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.48, allocations: 4 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.48, allocations: 17.62 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.4801, allocations: 7.734 kB / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.4808, allocations: 1.174 MB / 0.9611 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.142e-05/0.4809, allocations: 0.6797 MB / 0.9618 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.4809, allocations: 4.312 kB / 0.9618 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.4809, allocations: 14.59 kB / 0.9618 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.481, allocations: 4 kB / 0.9618 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.542, allocations: 1.549 MB / 0.9633 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.542, allocations: 242.4 kB / 0.9636 GB, free: 244 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/3.016, allocations: 6.109 kB / 0.9636 GB, free: 240 kB / 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)