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.00102/0.001024, allocations: 101.7 kB / 16.35 MB, free: 5.887 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.001009/0.001009, allocations: 188.6 kB / 17.29 MB, free: 5.527 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7312/0.7312, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.03 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 80.92 MB / 0.5858 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004532/0.3003, allocations: 4.185 MB / 0.5898 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1372/0.4375, allocations: 150.5 MB / 0.7368 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.4382, allocations: 15.94 kB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.4387, allocations: 162.4 kB / 0.737 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.44, allocations: 492.2 kB / 0.7374 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.4416, allocations: 0.7842 MB / 0.7382 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.4426, allocations: 1.226 MB / 0.7394 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006833/0.4433, allocations: 0.5559 MB / 0.7399 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.4437, allocations: 430.5 kB / 0.7403 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.4441, allocations: 430.1 kB / 0.7408 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.4443, allocations: 96 kB / 0.7408 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.4455, allocations: 0.8582 MB / 0.7417 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.4458, allocations: 267.1 kB / 0.7419 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.4462, allocations: 481.4 kB / 0.7424 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.4479, allocations: 1.636 MB / 0.744 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4479, allocations: 0 / 0.744 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4479, allocations: 4 kB / 0.744 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.448, allocations: 4 kB / 0.744 GB, free: 7.953 MB / 0.5762 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.002044/0.45, allocations: 1.346 MB / 0.7453 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.45, allocations: 9.109 kB / 0.7453 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4511, allocations: 207.5 kB / 0.7455 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009555/0.4521, allocations: 0.7189 MB / 0.7462 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.4521, allocations: 50 kB / 0.7463 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.4522, allocations: 68 kB / 0.7463 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4535, allocations: 0.8333 MB / 0.7472 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4536, allocations: 4 kB / 0.7472 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.4536, allocations: 28 kB / 0.7472 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.4537, allocations: 20 kB / 0.7472 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4554, allocations: 1.077 MB / 0.7483 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.4587, allocations: 2.331 MB / 0.7505 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4599, allocations: 0.7492 MB / 0.7513 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.229/0.689, allocations: 301.2 kB / 0.7516 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.6891, allocations: 29.48 kB / 0.7516 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.6902, allocations: 460.5 kB / 0.752 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/0.6902, allocations: 0 / 0.752 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003232/0.6934, allocations: 1.169 MB / 0.7532 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.6935, allocations: 193.8 kB / 0.7533 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.6941, allocations: 0.6026 MB / 0.7539 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.6942, allocations: 41.61 kB / 0.754 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.6944, allocations: 352.7 kB / 0.7543 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6945, allocations: 239.6 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.6947, allocations: 161.8 kB / 0.7547 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.6948, allocations: 379.2 kB / 0.7551 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.6954, allocations: 266.2 kB / 0.7553 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.6961, allocations: 362.8 kB / 0.7557 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.6973, allocations: 0.6138 MB / 0.7563 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6974, allocations: 1.25 kB / 0.7563 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002074/0.6994, allocations: 0.8403 MB / 0.7571 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6995, allocations: 6.453 kB / 0.7571 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6995, allocations: 1.406 kB / 0.7571 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.7001, allocations: 86.94 kB / 0.7572 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.7008, allocations: 168.8 kB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.7024, allocations: 1.634 MB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.703, allocations: 93.92 kB / 0.759 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.7031, allocations: 40.98 kB / 0.759 GB, free: 161.3 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.0003176/0.7034, allocations: 252.3 kB / 0.7593 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.7036, allocations: 76.31 kB / 0.7594 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.7063, allocations: 1.107 MB / 0.7604 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.7063, allocations: 13.88 kB / 0.7605 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7063, allocations: 0.6562 kB / 0.7605 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.7063, allocations: 3.938 kB / 0.7605 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.7071, allocations: 0.8338 MB / 0.7613 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7072, allocations: 0 / 0.7613 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.7077, allocations: 154.2 kB / 0.7614 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/0.7081, allocations: 78.06 kB / 0.7615 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.7082, allocations: 21.14 kB / 0.7615 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.7096, allocations: 1.673 MB / 0.7632 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.7097, allocations: 0.625 kB / 0.7632 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.7114, allocations: 0.9083 MB / 0.764 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.7117, allocations: 261.9 kB / 0.7643 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.7118, allocations: 20.5 kB / 0.7643 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.7123, allocations: 67.3 kB / 0.7644 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7124, allocations: 67.25 kB / 0.7644 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.7125, allocations: 29.33 kB / 0.7645 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004024/0.7129, allocations: 434.5 kB / 0.7649 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7129, allocations: 1.562 kB / 0.7649 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000655/0.7136, allocations: 303.2 kB / 0.7652 GB, free: 157.3 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.001107/0.7147, allocations: 0.622 MB / 0.7658 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.7163, allocations: 0.8199 MB / 0.7666 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7163, allocations: 0 / 0.7666 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.7172, allocations: 0.5108 MB / 0.7671 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.7181, allocations: 295 kB / 0.7674 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.7208, allocations: 1.628 MB / 0.7689 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7211, allocations: 0.9942 MB / 0.7699 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000582/0.7217, allocations: 261.8 kB / 0.7702 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.7219, allocations: 107.4 kB / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.7219, allocations: 0 / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02955/0.7514, allocations: 14.49 MB / 0.7844 GB, free: 138.6 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)