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.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.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.001172/0.001172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00118/0.00118, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.177/1.177, 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.011/2.011, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4709, allocations: 140.3 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00204/0.473, allocations: 1.532 MB / 0.9507 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.4734, allocations: 181.1 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.4734, allocations: 1.094 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.4734, allocations: 3.938 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.4736, allocations: 21.02 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.4738, allocations: 49.92 kB / 0.951 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.4738, allocations: 52.67 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.4739, allocations: 11.36 kB / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.474, allocations: 28.34 kB / 0.9511 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.474, allocations: 18.08 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.4741, allocations: 5.062 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.4741, allocations: 4.281 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.4741, allocations: 13.27 kB / 0.9511 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.4741, allocations: 27.36 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.4742, allocations: 43.92 kB / 0.9512 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4742, allocations: 3.938 kB / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4742, allocations: 0 / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4742, allocations: 0 / 0.9512 GB, free: 7.668 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.0003595/0.4746, allocations: 349.3 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4746, allocations: 10.06 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.4747, allocations: 35.75 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4747, allocations: 11.45 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.4748, allocations: 175.5 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4748, allocations: 1.656 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4748, allocations: 2.969 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4749, allocations: 70.47 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4749, allocations: 3.938 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.475, allocations: 5.312 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.475, allocations: 4 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.475, allocations: 21.7 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.4753, allocations: 273.5 kB / 0.9521 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.4753, allocations: 42.97 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.4754, allocations: 14.42 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.4754, allocations: 5.406 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.4755, allocations: 71.03 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4755, allocations: 0 / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.4757, allocations: 70.83 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4757, allocations: 104.1 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.43e-05/0.4758, allocations: 105.4 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.4758, allocations: 29.7 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.4758, allocations: 87.27 kB / 0.9526 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4758, allocations: 13.02 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.4759, allocations: 20.03 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.4759, allocations: 322.8 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.4759, allocations: 14.38 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.476, allocations: 32.69 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.476, allocations: 27.77 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.476, allocations: 4.031 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.926e-05/0.4761, allocations: 56.19 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.4761, allocations: 9.812 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4761, allocations: 0 / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4762, allocations: 1.312 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.4762, allocations: 13.28 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.4762, allocations: 0 / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.4763, allocations: 9.734 kB / 0.9531 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4763, allocations: 1.031 kB / 0.9531 GB, free: 5.637 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.383e-05/0.4764, allocations: 125.1 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.4764, allocations: 6.156 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.4764, allocations: 4.469 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4765, allocations: 1.125 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.4765, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4765, allocations: 1 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.804e-05/0.4765, allocations: 173.4 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4765, allocations: 1.156 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.4766, allocations: 2.312 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4766, allocations: 1.156 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4766, allocations: 4 kB / 0.9534 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4766, allocations: 1.062 kB / 0.9534 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4766, allocations: 0 / 0.9534 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.4767, allocations: 94.86 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.4767, allocations: 96.06 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4768, allocations: 1.344 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.4769, allocations: 17.33 kB / 0.9536 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.4769, allocations: 5.281 kB / 0.9536 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.4769, allocations: 2.375 kB / 0.9536 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.4769, allocations: 88.67 kB / 0.9537 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4769, allocations: 0 / 0.9537 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001803/0.4771, allocations: 9.688 kB / 0.9537 GB, free: 4.984 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.0002351/0.4774, allocations: 0.6374 MB / 0.9543 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.4775, allocations: 30.2 kB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.4775, allocations: 0 / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.4775, allocations: 13.38 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.4777, allocations: 5.188 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.4783, allocations: 1.187 MB / 0.9555 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.4784, allocations: 0.6873 MB / 0.9562 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.4785, allocations: 13.02 kB / 0.9562 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.4785, allocations: 14.38 kB / 0.9562 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.4785, allocations: 0 / 0.9562 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/0.6138, allocations: 1.667 MB / 0.9579 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.6139, allocations: 240.4 kB / 0.9581 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.275, allocations: 7.859 kB / 0.9581 GB, free: 1.414 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)