Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 111.2 kB / 16.41 MB, free: 6.488 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.001095/0.001095, allocations: 187 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 290.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4449, allocations: 86.98 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00284/0.4478, allocations: 1.601 MB / 0.7686 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.4488, allocations: 0.5472 MB / 0.7692 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.4489, allocations: 0 / 0.7692 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.4489, allocations: 7.875 kB / 0.7692 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.4493, allocations: 43.75 kB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.4494, allocations: 43.89 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.4495, allocations: 107.6 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4497, allocations: 27.44 kB / 0.7694 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4498, allocations: 43.91 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4499, allocations: 55.77 kB / 0.7695 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4499, allocations: 8 kB / 0.7695 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.45, allocations: 8 kB / 0.7695 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.45, allocations: 27.89 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.4501, allocations: 39.8 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.4502, allocations: 91.73 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4502, allocations: 0 / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4502, allocations: 7.875 kB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4502, allocations: 0 / 0.7696 GB, free: 1.309 MB / 0.5294 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.0006874/0.4509, allocations: 405.9 kB / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.451, allocations: 8.031 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.451, allocations: 12.75 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4512, allocations: 176.3 kB / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4512, allocations: 12.36 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4512, allocations: 4.375 kB / 0.7702 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.4514, allocations: 85.95 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4514, allocations: 4 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4515, allocations: 4 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4515, allocations: 0 / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4516, allocations: 47.97 kB / 0.7704 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.4521, allocations: 344.5 kB / 0.7707 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.4524, allocations: 114.7 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.4525, allocations: 40.84 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4525, allocations: 0 / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.4528, allocations: 99.25 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.4528, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003683/0.4531, allocations: 149.4 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.4532, allocations: 51.41 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4533, allocations: 129.8 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4533, allocations: 25.7 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.4534, allocations: 88.38 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.4534, allocations: 35.69 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.4535, allocations: 25.7 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4536, allocations: 326.8 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.4537, allocations: 24 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.4537, allocations: 33.98 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4539, allocations: 68.84 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4539, allocations: 0 / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001861/0.4541, allocations: 116.2 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4541, allocations: 8 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4541, allocations: 0 / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4541, allocations: 0 / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4542, allocations: 19.98 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4542, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4544, allocations: 23.77 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4544, allocations: 11.94 kB / 0.772 GB, free: 14.64 MB / 0.545 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 0.0001105/0.4545, allocations: 124.2 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.4545, allocations: 11.89 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.4548, allocations: 150 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4548, allocations: 0 / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4548, allocations: 4 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4548, allocations: 3.938 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.455, allocations: 205.6 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.455, allocations: 4 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.4551, allocations: 23.92 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4551, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4552, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4552, allocations: 4 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4552, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4554, allocations: 160.9 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.4555, allocations: 96.94 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4555, allocations: 0 / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4556, allocations: 11.98 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4557, allocations: 11.98 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4557, allocations: 7.938 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.4558, allocations: 100.1 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4558, allocations: 0 / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002147/0.456, allocations: 24 kB / 0.7729 GB, free: 13.62 MB / 0.545 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.0001335/0.4562, allocations: 103.2 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.4564, allocations: 89.95 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4564, allocations: 0 / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.4565, allocations: 55.86 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.4566, allocations: 9.5 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.4571, allocations: 232 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4574, allocations: 0.7001 MB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.4575, allocations: 23.44 kB / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4575, allocations: 0 / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.002992/0.4605, allocations: 1.276 MB / 0.7753 GB, free: 11.08 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)