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.0008138/0.0008138, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004936/0.004936, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.034/2.034, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.498, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001121/0.4991, allocations: 1.174 MB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.4994, allocations: 184.5 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.4995, allocations: 1.094 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.4995, allocations: 3.938 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.4996, allocations: 13.31 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.4998, allocations: 48.55 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.4999, allocations: 60.7 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.4999, allocations: 7.375 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.5, allocations: 23.33 kB / 0.9567 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.5, allocations: 14.11 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.5001, allocations: 2.938 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.5001, allocations: 2.719 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.5001, allocations: 14.44 kB / 0.9567 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.5001, allocations: 47.91 kB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.499e-05/0.5002, allocations: 46.8 kB / 0.9568 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5002, allocations: 7.938 kB / 0.9568 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5002, allocations: 0 / 0.9568 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.5002, allocations: 1.062 kB / 0.9568 GB, free: 6.406 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.0003208/0.5006, allocations: 338.9 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.5006, allocations: 8.875 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.5006, allocations: 36.84 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.5007, allocations: 6.875 kB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/0.5007, allocations: 167.4 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5007, allocations: 9.875 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5008, allocations: 3.219 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5009, allocations: 74.22 kB / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.5009, allocations: 3.938 kB / 0.9574 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5009, allocations: 1.094 kB / 0.9574 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5009, allocations: 5.281 kB / 0.9574 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.501, allocations: 16.52 kB / 0.9574 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.5012, allocations: 276.9 kB / 0.9577 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.5013, allocations: 44.28 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.5013, allocations: 22.53 kB / 0.9578 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.5013, allocations: 1.031 kB / 0.9578 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.5014, allocations: 67.11 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5014, allocations: 0 / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.5016, allocations: 74.89 kB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.5017, allocations: 107.9 kB / 0.958 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.5017, allocations: 105.8 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5017, allocations: 25.7 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.5018, allocations: 86.27 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.5018, allocations: 9.062 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.5018, allocations: 15.92 kB / 0.9582 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.5018, allocations: 323.8 kB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.5019, allocations: 8.656 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.5019, allocations: 33.72 kB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.502, allocations: 28.27 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.502, allocations: 0 / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.594e-05/0.5021, allocations: 63.56 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5021, allocations: 4.938 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5021, allocations: 1.75 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.5021, allocations: 4.031 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.5021, allocations: 8.609 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.5022, allocations: 1.281 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.5023, allocations: 11.64 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5023, allocations: 1.281 kB / 0.9587 GB, free: 4.391 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.988e-05/0.5023, allocations: 118 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.5024, allocations: 5.188 kB / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.5024, allocations: 8.406 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5024, allocations: 1.531 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5024, allocations: 0 / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5024, allocations: 0 / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.079e-05/0.5025, allocations: 179.1 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5025, allocations: 0 / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.5025, allocations: 6.5 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5025, allocations: 1.219 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5025, allocations: 0 / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5025, allocations: 1.25 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5025, allocations: 7.922 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.956e-05/0.5026, allocations: 95.2 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.5027, allocations: 91.69 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.5027, allocations: 1.188 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5028, allocations: 13.89 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.5028, allocations: 7.062 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5028, allocations: 5.078 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.5029, allocations: 88.69 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5029, allocations: 0 / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001807/0.5031, allocations: 9.812 kB / 0.9593 GB, free: 3.738 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.0002325/0.5033, allocations: 0.6368 MB / 0.9599 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.5034, allocations: 33.45 kB / 0.96 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5034, allocations: 4 kB / 0.96 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.5034, allocations: 17.09 kB / 0.96 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5036, allocations: 12.69 kB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.5042, allocations: 1.167 MB / 0.9611 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.256e-05/0.5043, allocations: 0.6839 MB / 0.9618 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.5044, allocations: 4.531 kB / 0.9618 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.5044, allocations: 14.59 kB / 0.9618 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5044, allocations: 4 kB / 0.9618 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8748/1.379, allocations: 1.552 MB / 0.9633 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.379, allocations: 237.8 kB / 0.9636 GB, free: 276 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.912, allocations: 9.172 kB / 0.9636 GB, free: 272 kB / 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)