Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.0008907/0.0008907, allocations: 91.84 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.005029/0.005029, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.114/2.114, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 15.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5634, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001318/0.5648, allocations: 1.32 MB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006051/0.5654, allocations: 0.5277 MB / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.5655, allocations: 0 / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.5655, allocations: 5.375 kB / 0.957 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.5657, allocations: 31.86 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.888e-05/0.5658, allocations: 38.69 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.5659, allocations: 103.7 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.566, allocations: 28.92 kB / 0.9572 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.5661, allocations: 34.34 kB / 0.9572 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.5662, allocations: 44.98 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.5662, allocations: 3.969 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.5663, allocations: 3.344 kB / 0.9573 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.5663, allocations: 22.19 kB / 0.9573 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.5663, allocations: 62.91 kB / 0.9573 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.5664, allocations: 93.5 kB / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5664, allocations: 0 / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5664, allocations: 0 / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5665, allocations: 0 / 0.9574 GB, free: 5.945 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005081/0.567, allocations: 390.9 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.567, allocations: 9.688 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.5671, allocations: 41.91 kB / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.5671, allocations: 13.41 kB / 0.9579 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.5672, allocations: 186.3 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5672, allocations: 3.219 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.5672, allocations: 4.969 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5674, allocations: 97.3 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.5674, allocations: 4 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.5674, allocations: 1.25 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.5674, allocations: 1.469 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.5675, allocations: 49.12 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.5679, allocations: 339.7 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.5681, allocations: 111.2 kB / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.5682, allocations: 40.22 kB / 0.9587 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.5682, allocations: 1.156 kB / 0.9587 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.5684, allocations: 105.1 kB / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.5684, allocations: 0 / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002625/0.5687, allocations: 150.5 kB / 0.9589 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.5687, allocations: 56.78 kB / 0.959 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.5688, allocations: 122.3 kB / 0.9591 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.5688, allocations: 27.08 kB / 0.9591 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.5688, allocations: 103 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.5688, allocations: 33.19 kB / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.5689, allocations: 16.47 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.5689, allocations: 320.2 kB / 0.9595 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.569, allocations: 38.73 kB / 0.9596 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.569, allocations: 24.09 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5691, allocations: 64.28 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5691, allocations: 0 / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001513/0.5693, allocations: 108.8 kB / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5693, allocations: 6.656 kB / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.5693, allocations: 0 / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.5693, allocations: 5.219 kB / 0.9598 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.5694, allocations: 22.02 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5695, allocations: 1.25 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.5696, allocations: 30.23 kB / 0.9598 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5696, allocations: 3.406 kB / 0.9598 GB, free: 3.711 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.972e-05/0.5696, allocations: 121.6 kB / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.5697, allocations: 3.938 kB / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5699, allocations: 150.8 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.5699, allocations: 2.25 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5699, allocations: 4 kB / 0.9601 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5699, allocations: 3.938 kB / 0.9601 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.57, allocations: 208.6 kB / 0.9603 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.57, allocations: 5.312 kB / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.5701, allocations: 16.98 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5701, allocations: 0 / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.5701, allocations: 2.188 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5701, allocations: 0 / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5701, allocations: 0.9688 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.5703, allocations: 178.6 kB / 0.9605 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.5704, allocations: 92.69 kB / 0.9606 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.5704, allocations: 5.109 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5705, allocations: 13.61 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.5706, allocations: 13.27 kB / 0.9606 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.5706, allocations: 4.094 kB / 0.9606 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.5706, allocations: 98.64 kB / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5706, allocations: 0 / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001934/0.5708, allocations: 27.53 kB / 0.9607 GB, free: 2.891 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003407/0.5712, allocations: 0.6977 MB / 0.9614 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.5713, allocations: 81.47 kB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5713, allocations: 0 / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.5714, allocations: 58.17 kB / 0.9616 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.5716, allocations: 13.08 kB / 0.9616 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5726, allocations: 1.476 MB / 0.963 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.5727, allocations: 0.7109 MB / 0.9637 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.5728, allocations: 5.875 kB / 0.9637 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.5728, allocations: 33.08 kB / 0.9637 GB, free: 100 kB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5728, allocations: 1.156 kB / 0.9638 GB, free: 100 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.5843, allocations: 1.992 MB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.5846, allocations: 238.6 kB / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.207, allocations: 0 / 0.9659 GB, free: 14.94 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)