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.0008234/0.0008235, 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.005589/0.005589, allocations: 170.7 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.479/1.479, 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/IDEAS 3.0.0/package.mo): time 0.8233/0.8233, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 8.906 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4851, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005205/0.4904, allocations: 3.797 MB / 0.5874 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/0.6694, allocations: 146.6 MB / 0.7305 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.6705, allocations: 15.94 kB / 0.7305 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.6711, allocations: 135 kB / 0.7306 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.6725, allocations: 405.5 kB / 0.731 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.6742, allocations: 0.6901 MB / 0.7317 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.6754, allocations: 1.132 MB / 0.7328 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007519/0.6761, allocations: 0.5229 MB / 0.7333 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.6765, allocations: 314.5 kB / 0.7336 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.6769, allocations: 338.1 kB / 0.7339 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.677, allocations: 20 kB / 0.734 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.6782, allocations: 0.7528 MB / 0.7347 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.6784, allocations: 171.2 kB / 0.7349 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.6788, allocations: 415.1 kB / 0.7353 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.6804, allocations: 1.523 MB / 0.7367 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6804, allocations: 0 / 0.7367 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6804, allocations: 0 / 0.7367 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6805, allocations: 0 / 0.7367 GB, free: 3.117 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.002212/0.6827, allocations: 1.163 MB / 0.7379 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6827, allocations: 12.03 kB / 0.7379 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.684, allocations: 203.6 kB / 0.7381 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.685, allocations: 0.7072 MB / 0.7388 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.6851, allocations: 50 kB / 0.7388 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.6852, allocations: 71.98 kB / 0.7389 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.6869, allocations: 0.8295 MB / 0.7397 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6869, allocations: 4 kB / 0.7397 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/0.687, allocations: 36 kB / 0.7397 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.687, allocations: 16 kB / 0.7398 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.6891, allocations: 1.096 MB / 0.7408 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.6932, allocations: 2.396 MB / 0.7432 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.6948, allocations: 0.7545 MB / 0.7439 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.6956, allocations: 314.7 kB / 0.7442 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/0.6957, allocations: 32.67 kB / 0.7442 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.6967, allocations: 467.2 kB / 0.7447 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.6968, allocations: 0 / 0.7447 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003675/0.7004, allocations: 1.199 MB / 0.7459 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.7006, allocations: 188.6 kB / 0.746 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.7015, allocations: 0.594 MB / 0.7466 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.7016, allocations: 45.7 kB / 0.7467 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.7019, allocations: 360.4 kB / 0.747 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.7022, allocations: 240.5 kB / 0.7472 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7023, allocations: 61.69 kB / 0.7473 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7025, allocations: 382.8 kB / 0.7477 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.7032, allocations: 273.8 kB / 0.7479 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.704, allocations: 379.9 kB / 0.7483 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.7054, allocations: 0.6237 MB / 0.7489 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7054, allocations: 0 / 0.7489 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002343/0.7077, allocations: 0.8605 MB / 0.7497 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7078, allocations: 9.875 kB / 0.7497 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7078, allocations: 0 / 0.7497 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.7084, allocations: 80.91 kB / 0.7498 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.7092, allocations: 171.8 kB / 0.75 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.7115, allocations: 1.532 MB / 0.7515 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.7124, allocations: 99.42 kB / 0.7516 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.7125, allocations: 35.97 kB / 0.7516 GB, free: 3.379 MB / 0.5762 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.0006001/0.7131, allocations: 258.4 kB / 0.7518 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.7132, allocations: 79.06 kB / 0.7519 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.7164, allocations: 1.111 MB / 0.753 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.7164, allocations: 8 kB / 0.753 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7164, allocations: 7.938 kB / 0.753 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.7165, allocations: 7.969 kB / 0.753 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.7176, allocations: 0.8371 MB / 0.7538 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.7177, allocations: 0 / 0.7538 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.7183, allocations: 167.8 kB / 0.754 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.7189, allocations: 88.72 kB / 0.7541 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.719, allocations: 19.98 kB / 0.7541 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.7211, allocations: 1.559 MB / 0.7556 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7211, allocations: 0 / 0.7556 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.7236, allocations: 0.9201 MB / 0.7565 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.7241, allocations: 275.7 kB / 0.7568 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7243, allocations: 16 kB / 0.7568 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.725, allocations: 79.92 kB / 0.7569 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.7252, allocations: 68.84 kB / 0.757 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.7253, allocations: 31.98 kB / 0.757 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007145/0.726, allocations: 439 kB / 0.7574 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7261, allocations: 0 / 0.7574 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001068/0.7271, allocations: 299.3 kB / 0.7577 GB, free: 12.89 MB / 0.5919 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.001616/0.7288, allocations: 0.6071 MB / 0.7583 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.7309, allocations: 0.847 MB / 0.7591 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.7309, allocations: 0 / 0.7591 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.7321, allocations: 0.5198 MB / 0.7596 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.7334, allocations: 254.4 kB / 0.7599 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.738, allocations: 2.081 MB / 0.7619 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.7387, allocations: 0.9886 MB / 0.7629 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00102/0.7398, allocations: 270.2 kB / 0.7631 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.7401, allocations: 99.38 kB / 0.7632 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.7401, allocations: 0 / 0.7632 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.0258/0.7659, allocations: 13.83 MB / 0.7767 GB, free: 9.719 MB / 0.6075 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)