Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001104/0.001104, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.024/2.024, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.468, allocations: 140.3 MB / 0.949 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001982/0.47, allocations: 1.525 MB / 0.9505 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.4703, allocations: 190.1 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.4703, allocations: 0 / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.4704, allocations: 5.359 kB / 0.9507 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.4705, allocations: 17.42 kB / 0.9507 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.4707, allocations: 59.8 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.4707, allocations: 53.11 kB / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.4708, allocations: 6.672 kB / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.4709, allocations: 20.06 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.4709, allocations: 29.2 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.471, allocations: 4.25 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.471, allocations: 1.25 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.471, allocations: 15.36 kB / 0.9509 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.471, allocations: 13.72 kB / 0.9509 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.4711, allocations: 47.44 kB / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4711, allocations: 0 / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.32e-07/0.4711, allocations: 3.938 kB / 0.951 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.4711, allocations: 1.312 kB / 0.951 GB, free: 7.93 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.0003658/0.4715, allocations: 356.2 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.4716, allocations: 9.781 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.4716, allocations: 32.06 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.4716, allocations: 7.406 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.725e-05/0.4717, allocations: 167 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.4717, allocations: 6.188 kB / 0.9515 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.4717, allocations: 2.156 kB / 0.9515 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4718, allocations: 78.53 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4718, allocations: 3.938 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4719, allocations: 1.062 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4719, allocations: 1.125 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.4719, allocations: 21.45 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.4722, allocations: 277.2 kB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.4723, allocations: 42.31 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.4723, allocations: 20.48 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.4723, allocations: 0 / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.4724, allocations: 59.17 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4724, allocations: 0 / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.4726, allocations: 79.12 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.4726, allocations: 104.4 kB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.4727, allocations: 108.8 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.4727, allocations: 31.33 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.4727, allocations: 85.95 kB / 0.9524 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.4727, allocations: 13.23 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.4728, allocations: 22.86 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.4728, allocations: 315.8 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.4728, allocations: 14.2 kB / 0.9528 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.4729, allocations: 40.73 kB / 0.9528 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.4729, allocations: 28.02 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4729, allocations: 0 / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.012e-05/0.473, allocations: 61.05 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.473, allocations: 4.469 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.473, allocations: 0 / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4731, allocations: 1.406 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.4731, allocations: 4.812 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.4731, allocations: 1.188 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4732, allocations: 13.2 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4733, allocations: 5.312 kB / 0.9529 GB, free: 5.898 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.856e-05/0.4733, allocations: 117.3 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.4733, allocations: 10.22 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.4733, allocations: 11.48 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4734, allocations: 1.062 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4734, allocations: 448 / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.4734, allocations: 1.594 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.598e-05/0.4734, allocations: 169.8 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4734, allocations: 11.98 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.4735, allocations: 2.438 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4735, allocations: 1.188 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4735, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4735, allocations: 1.25 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4735, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.4736, allocations: 92.11 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.4736, allocations: 82.55 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.4737, allocations: 9.328 kB / 0.9534 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.4738, allocations: 9.25 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.4738, allocations: 10.45 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.4738, allocations: 4.969 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.4738, allocations: 89.7 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4738, allocations: 0 / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001807/0.474, allocations: 13.22 kB / 0.9535 GB, free: 5.242 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.0002318/0.4743, allocations: 0.6273 MB / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.4744, allocations: 34.61 kB / 0.9542 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4744, allocations: 0 / 0.9542 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.4744, allocations: 12.94 kB / 0.9542 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.4746, allocations: 6.812 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.4752, allocations: 1.166 MB / 0.9553 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.4753, allocations: 0.6827 MB / 0.956 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.4754, allocations: 13.58 kB / 0.956 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.4754, allocations: 13.75 kB / 0.956 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4754, allocations: 0 / 0.956 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/0.7697, allocations: 1.613 MB / 0.9576 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.7699, allocations: 241.5 kB / 0.9578 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.291, allocations: 2.531 kB / 0.9578 GB, free: 1.707 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)