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.001235/0.001235, allocations: 90.83 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.006523/0.006523, allocations: 172.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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.3 MB / 426.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003912, allocations: 12.84 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 82.32 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004225/0.1835, allocations: 3.784 MB / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.485/0.6685, allocations: 146.6 MB / 0.7348 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.6694, allocations: 18.16 kB / 0.7348 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.6701, allocations: 137.4 kB / 0.7349 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.6718, allocations: 401.1 kB / 0.7353 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.6742, allocations: 0.6893 MB / 0.736 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.676, allocations: 1.13 MB / 0.7371 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.6769, allocations: 0.5301 MB / 0.7376 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.6775, allocations: 307.6 kB / 0.7379 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.6781, allocations: 333.1 kB / 0.7382 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.6782, allocations: 23.44 kB / 0.7382 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6802, allocations: 0.7572 MB / 0.739 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.6805, allocations: 172.3 kB / 0.7392 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.681, allocations: 403.4 kB / 0.7395 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.6832, allocations: 1.524 MB / 0.741 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.6832, allocations: 0 / 0.741 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6832, allocations: 0 / 0.741 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.6833, allocations: 0 / 0.741 GB, free: 11.85 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.002223/0.6855, allocations: 1.169 MB / 0.7422 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6855, allocations: 9.75 kB / 0.7422 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.6868, allocations: 203.8 kB / 0.7424 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.6878, allocations: 0.6968 MB / 0.7431 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.6879, allocations: 58.31 kB / 0.7431 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.688, allocations: 64.06 kB / 0.7432 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6897, allocations: 0.8426 MB / 0.744 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6897, allocations: 0 / 0.744 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.6898, allocations: 36.23 kB / 0.744 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.6898, allocations: 16.5 kB / 0.744 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.6919, allocations: 1.094 MB / 0.7451 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.6958, allocations: 2.39 MB / 0.7474 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6972, allocations: 0.754 MB / 0.7482 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.6978, allocations: 312.1 kB / 0.7485 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.487e-05/0.6979, allocations: 36.12 kB / 0.7485 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.6989, allocations: 479.2 kB / 0.749 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.355e-06/0.699, allocations: 0 / 0.749 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003513/0.7025, allocations: 1.194 MB / 0.7501 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.7026, allocations: 192.5 kB / 0.7503 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.7035, allocations: 0.5962 MB / 0.7509 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.7036, allocations: 41.7 kB / 0.7509 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.7039, allocations: 356.4 kB / 0.7513 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.7042, allocations: 236.5 kB / 0.7515 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7043, allocations: 69.67 kB / 0.7516 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.7046, allocations: 378.8 kB / 0.7519 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.7052, allocations: 273.8 kB / 0.7522 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.706, allocations: 372 kB / 0.7526 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.7073, allocations: 0.6354 MB / 0.7532 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.7074, allocations: 0 / 0.7532 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002221/0.7096, allocations: 0.8565 MB / 0.754 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.7096, allocations: 11.98 kB / 0.754 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7096, allocations: 0 / 0.754 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.7103, allocations: 84.88 kB / 0.7541 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.711, allocations: 167.7 kB / 0.7543 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.7138, allocations: 1.537 MB / 0.7558 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.7146, allocations: 93.2 kB / 0.7558 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.7147, allocations: 35.98 kB / 0.7559 GB, free: 15.96 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.0005084/0.7152, allocations: 250.2 kB / 0.7561 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.7154, allocations: 83.16 kB / 0.7562 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.7181, allocations: 1.127 MB / 0.7573 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7182, allocations: 12 kB / 0.7573 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7182, allocations: 0 / 0.7573 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7182, allocations: 3.984 kB / 0.7573 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.7193, allocations: 0.839 MB / 0.7581 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7193, allocations: 0 / 0.7581 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.7199, allocations: 163.8 kB / 0.7583 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.7205, allocations: 88.7 kB / 0.7584 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.7205, allocations: 23.98 kB / 0.7584 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.7224, allocations: 1.559 MB / 0.7599 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7225, allocations: 0 / 0.7599 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.7246, allocations: 0.924 MB / 0.7608 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.725, allocations: 279.7 kB / 0.7611 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/0.7251, allocations: 20 kB / 0.7611 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.7257, allocations: 75.92 kB / 0.7612 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7259, allocations: 72.84 kB / 0.7613 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.726, allocations: 31.98 kB / 0.7613 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000591/0.7266, allocations: 431 kB / 0.7617 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7266, allocations: 0 / 0.7617 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001014/0.7276, allocations: 295.4 kB / 0.762 GB, free: 9.461 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.001547/0.7291, allocations: 0.614 MB / 0.7626 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.731, allocations: 0.8389 MB / 0.7634 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7311, allocations: 0 / 0.7634 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.732, allocations: 0.5198 MB / 0.7639 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.7333, allocations: 271.5 kB / 0.7642 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.7375, allocations: 2.073 MB / 0.7662 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.7381, allocations: 0.988 MB / 0.7672 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008889/0.739, allocations: 262.2 kB / 0.7674 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.7393, allocations: 103.4 kB / 0.7675 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.7393, allocations: 0 / 0.7675 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.02589/0.7652, allocations: 13.83 MB / 0.781 GB, free: 6.266 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)