Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00196/0.00196, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9347/0.9347, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.36 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1716, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006003/0.1777, allocations: 4.192 MB / 0.588 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4754/0.6531, allocations: 148.3 MB / 0.7328 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.6543, allocations: 14.38 kB / 0.7328 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.6552, allocations: 133.8 kB / 0.7329 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.6575, allocations: 421.3 kB / 0.7333 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.6601, allocations: 0.7108 MB / 0.734 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.6631, allocations: 1.209 MB / 0.7352 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.6645, allocations: 0.5532 MB / 0.7357 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.6658, allocations: 427.6 kB / 0.7361 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.6669, allocations: 438.4 kB / 0.7365 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.6673, allocations: 96 kB / 0.7366 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.6693, allocations: 0.8278 MB / 0.7374 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.6699, allocations: 266.7 kB / 0.7377 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008271/0.6707, allocations: 476.2 kB / 0.7381 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.6737, allocations: 1.605 MB / 0.7397 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.6737, allocations: 0 / 0.7397 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6737, allocations: 1.375 kB / 0.7397 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.6738, allocations: 0 / 0.7397 GB, free: 10.47 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.002547/0.6763, allocations: 1.35 MB / 0.741 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6764, allocations: 9.625 kB / 0.741 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.6776, allocations: 197.8 kB / 0.7412 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6786, allocations: 0.6976 MB / 0.7419 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.6787, allocations: 55.16 kB / 0.742 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.6788, allocations: 64.09 kB / 0.742 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.6804, allocations: 0.8364 MB / 0.7428 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.6804, allocations: 1.875 kB / 0.7428 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.6805, allocations: 33.56 kB / 0.7429 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6805, allocations: 16.22 kB / 0.7429 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6824, allocations: 1.084 MB / 0.744 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.6862, allocations: 2.358 MB / 0.7463 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.6877, allocations: 0.7456 MB / 0.747 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.6883, allocations: 303.1 kB / 0.7473 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.6884, allocations: 28.67 kB / 0.7473 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.6894, allocations: 467.9 kB / 0.7477 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.245e-06/0.6895, allocations: 0 / 0.7477 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003575/0.693, allocations: 1.171 MB / 0.7489 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.6932, allocations: 192.6 kB / 0.7491 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.694, allocations: 0.5978 MB / 0.7497 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.694, allocations: 41.7 kB / 0.7497 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.6944, allocations: 353.3 kB / 0.75 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.6946, allocations: 240.5 kB / 0.7503 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.6949, allocations: 158.5 kB / 0.7504 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6951, allocations: 378.8 kB / 0.7508 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.6957, allocations: 273.8 kB / 0.751 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.6965, allocations: 356 kB / 0.7514 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.6978, allocations: 0.6237 MB / 0.752 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6978, allocations: 0 / 0.752 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002185/0.7, allocations: 0.837 MB / 0.7528 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7001, allocations: 10.42 kB / 0.7528 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7001, allocations: 4 kB / 0.7528 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/0.7008, allocations: 86.39 kB / 0.7529 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.7015, allocations: 155.8 kB / 0.753 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.7043, allocations: 1.65 MB / 0.7547 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.7052, allocations: 83.38 kB / 0.7547 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.7053, allocations: 40.05 kB / 0.7548 GB, free: 13.65 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.0005662/0.7058, allocations: 254.1 kB / 0.755 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.706, allocations: 79.12 kB / 0.7551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.7088, allocations: 1.107 MB / 0.7562 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.7089, allocations: 8 kB / 0.7562 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7089, allocations: 0 / 0.7562 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7089, allocations: 3.984 kB / 0.7562 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.7099, allocations: 0.8371 MB / 0.757 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7099, allocations: 3.984 kB / 0.757 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.7105, allocations: 159.8 kB / 0.7572 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.711, allocations: 72.78 kB / 0.7572 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.7111, allocations: 23.98 kB / 0.7573 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.713, allocations: 1.678 MB / 0.7589 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7131, allocations: 11.62 kB / 0.7589 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.7151, allocations: 0.8889 MB / 0.7598 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.7155, allocations: 267.8 kB / 0.76 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.7156, allocations: 16 kB / 0.76 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.7162, allocations: 59.94 kB / 0.7601 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.7164, allocations: 68.84 kB / 0.7602 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.7165, allocations: 35.97 kB / 0.7602 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006147/0.7171, allocations: 435 kB / 0.7606 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7171, allocations: 0 / 0.7606 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001015/0.7181, allocations: 295.3 kB / 0.7609 GB, free: 7.125 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.001842/0.72, allocations: 0.6155 MB / 0.7615 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.7226, allocations: 1.015 MB / 0.7625 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7226, allocations: 4 kB / 0.7625 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.7237, allocations: 0.5081 MB / 0.763 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.7249, allocations: 282.8 kB / 0.7633 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.7293, allocations: 2.024 MB / 0.7652 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.7301, allocations: 0.9916 MB / 0.7662 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001003/0.7311, allocations: 258.3 kB / 0.7665 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.7314, allocations: 111.4 kB / 0.7666 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7314, allocations: 0 / 0.7666 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.02949/0.7609, allocations: 14.37 MB / 0.7806 GB, free: 3.289 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)