Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.665/0.665, allocations: 132.2 MB / 422.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.94 kB / 0.5018 GB, free: 8.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 80.21 MB / 0.5801 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005667/0.151, allocations: 4.188 MB / 0.5842 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3537/0.5048, allocations: 150.5 MB / 0.7311 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.5054, allocations: 18.94 kB / 0.7311 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.506, allocations: 166.7 kB / 0.7313 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.5074, allocations: 491.9 kB / 0.7318 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.5091, allocations: 0.7866 MB / 0.7325 GB, free: 488 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.5105, allocations: 1.213 MB / 0.7337 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.5113, allocations: 0.5445 MB / 0.7342 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006105/0.5119, allocations: 429.8 kB / 0.7347 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.5125, allocations: 435.2 kB / 0.7351 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.5127, allocations: 96 kB / 0.7352 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.5141, allocations: 0.8268 MB / 0.736 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.5143, allocations: 257.8 kB / 0.7362 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.5148, allocations: 483.3 kB / 0.7367 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.5165, allocations: 1.602 MB / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5165, allocations: 0 / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5165, allocations: 3.406 kB / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.5165, allocations: 0 / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002183/0.5187, allocations: 1.353 MB / 0.7396 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5188, allocations: 10.66 kB / 0.7396 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5198, allocations: 197 kB / 0.7398 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.5207, allocations: 0.7013 MB / 0.7405 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.5208, allocations: 50.09 kB / 0.7405 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.5209, allocations: 71.62 kB / 0.7406 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5222, allocations: 0.8385 MB / 0.7414 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5223, allocations: 0 / 0.7414 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.5223, allocations: 27.56 kB / 0.7414 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5224, allocations: 21.8 kB / 0.7414 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.5241, allocations: 1.077 MB / 0.7425 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.5273, allocations: 2.36 MB / 0.7448 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.5286, allocations: 0.7436 MB / 0.7455 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.5292, allocations: 305.6 kB / 0.7458 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.5293, allocations: 37.05 kB / 0.7458 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008714/0.5302, allocations: 463.5 kB / 0.7463 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.5302, allocations: 0 / 0.7463 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003176/0.5333, allocations: 1.167 MB / 0.7474 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.5334, allocations: 188.6 kB / 0.7476 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.5341, allocations: 0.6095 MB / 0.7482 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.5342, allocations: 37.7 kB / 0.7482 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.5344, allocations: 348.4 kB / 0.7486 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5346, allocations: 244.5 kB / 0.7488 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.5348, allocations: 154.5 kB / 0.7489 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.535, allocations: 386.8 kB / 0.7493 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.5355, allocations: 265.8 kB / 0.7496 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.5363, allocations: 360 kB / 0.7499 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.5375, allocations: 0.6119 MB / 0.7505 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5375, allocations: 0 / 0.7505 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001995/0.5395, allocations: 0.8526 MB / 0.7513 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5396, allocations: 7.938 kB / 0.7514 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5396, allocations: 0 / 0.7514 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.5402, allocations: 80.91 kB / 0.7514 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.5409, allocations: 167.7 kB / 0.7516 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.543, allocations: 1.642 MB / 0.7532 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.5436, allocations: 84.5 kB / 0.7533 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.5437, allocations: 35.97 kB / 0.7533 GB, free: 0.7734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.5441, allocations: 245.7 kB / 0.7535 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.5443, allocations: 82.97 kB / 0.7536 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.547, allocations: 1.111 MB / 0.7547 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.547, allocations: 12 kB / 0.7547 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.547, allocations: 0 / 0.7547 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.547, allocations: 3.984 kB / 0.7547 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.548, allocations: 0.8421 MB / 0.7555 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.548, allocations: 0 / 0.7555 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.5486, allocations: 155.8 kB / 0.7557 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/0.549, allocations: 72.78 kB / 0.7558 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.5491, allocations: 23.98 kB / 0.7558 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.5509, allocations: 1.67 MB / 0.7574 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5509, allocations: 7.938 kB / 0.7574 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.5528, allocations: 0.9006 MB / 0.7583 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.5531, allocations: 263.8 kB / 0.7586 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5533, allocations: 20 kB / 0.7586 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.5538, allocations: 63.92 kB / 0.7586 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5539, allocations: 64.91 kB / 0.7587 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.554, allocations: 35.83 kB / 0.7587 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004686/0.5545, allocations: 431 kB / 0.7591 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5545, allocations: 4 kB / 0.7591 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007542/0.5553, allocations: 303.3 kB / 0.7594 GB, free: 10.24 MB / 0.5762 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001254/0.5565, allocations: 0.6139 MB / 0.76 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.5588, allocations: 1.015 MB / 0.761 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5588, allocations: 0 / 0.761 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/0.5597, allocations: 0.5119 MB / 0.7615 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5607, allocations: 279.5 kB / 0.7618 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.5641, allocations: 1.666 MB / 0.7634 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5646, allocations: 0.9877 MB / 0.7644 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007594/0.5653, allocations: 269.7 kB / 0.7646 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.5656, allocations: 111.4 kB / 0.7647 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5656, allocations: 0 / 0.7647 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.02097/0.5865, allocations: 14.48 MB / 0.7789 GB, free: 6.672 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)