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.001452/0.001452, 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.001235/0.001235, allocations: 193.3 kB / 16.25 MB, free: 6.641 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.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 75.27 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1682, allocations: 81.01 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006032/0.1743, allocations: 4.204 MB / 0.5886 GB, free: 112 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4092/0.5835, allocations: 148.2 MB / 0.7334 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.5844, allocations: 15.31 kB / 0.7334 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.5851, allocations: 135.9 kB / 0.7335 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.5867, allocations: 422.1 kB / 0.7339 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.5885, allocations: 0.7138 MB / 0.7346 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.59, allocations: 1.212 MB / 0.7358 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.5909, allocations: 0.5553 MB / 0.7363 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.5915, allocations: 426.5 kB / 0.7367 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.5921, allocations: 441.1 kB / 0.7372 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.5923, allocations: 101.4 kB / 0.7373 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5936, allocations: 0.8244 MB / 0.7381 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.5938, allocations: 255.8 kB / 0.7383 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.5943, allocations: 484.6 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.5963, allocations: 1.606 MB / 0.7403 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5963, allocations: 4 kB / 0.7403 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5963, allocations: 0 / 0.7403 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.5963, allocations: 1.375 kB / 0.7403 GB, free: 9.859 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.002351/0.5987, allocations: 1.354 MB / 0.7417 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5987, allocations: 9.688 kB / 0.7417 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.5999, allocations: 197.4 kB / 0.7419 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.601, allocations: 0.6958 MB / 0.7425 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.601, allocations: 55 kB / 0.7426 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.6011, allocations: 67.44 kB / 0.7427 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.6026, allocations: 0.8316 MB / 0.7435 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6027, allocations: 7.938 kB / 0.7435 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.6028, allocations: 31.56 kB / 0.7435 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.6028, allocations: 18.62 kB / 0.7435 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.6046, allocations: 1.074 MB / 0.7446 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.6084, allocations: 2.367 MB / 0.7469 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6098, allocations: 0.7388 MB / 0.7476 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.6105, allocations: 306.5 kB / 0.7479 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.6106, allocations: 32.67 kB / 0.7479 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.6117, allocations: 463.2 kB / 0.7484 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.6117, allocations: 0 / 0.7484 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003593/0.6153, allocations: 1.167 MB / 0.7495 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6154, allocations: 188.6 kB / 0.7497 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/0.6163, allocations: 0.6056 MB / 0.7503 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.6164, allocations: 41.7 kB / 0.7503 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.6167, allocations: 348.4 kB / 0.7506 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.6169, allocations: 240.5 kB / 0.7509 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.6172, allocations: 154.5 kB / 0.751 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.6174, allocations: 386.8 kB / 0.7514 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.618, allocations: 263 kB / 0.7516 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.6188, allocations: 363.9 kB / 0.752 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6201, allocations: 0.6159 MB / 0.7526 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6201, allocations: 0 / 0.7526 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00223/0.6224, allocations: 0.8525 MB / 0.7534 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6224, allocations: 4 kB / 0.7534 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6224, allocations: 3.938 kB / 0.7534 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.623, allocations: 80.91 kB / 0.7535 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.6238, allocations: 167.8 kB / 0.7537 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.626, allocations: 1.639 MB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.6268, allocations: 91.47 kB / 0.7554 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.6269, allocations: 35.97 kB / 0.7554 GB, free: 12.84 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.0004454/0.6274, allocations: 249.6 kB / 0.7556 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6276, allocations: 79.06 kB / 0.7557 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.6305, allocations: 1.105 MB / 0.7568 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.6305, allocations: 12 kB / 0.7568 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6305, allocations: 4.781 kB / 0.7568 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6305, allocations: 3.984 kB / 0.7568 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6316, allocations: 0.8409 MB / 0.7576 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.6317, allocations: 8 kB / 0.7576 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.6323, allocations: 155.8 kB / 0.7578 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.6328, allocations: 72.78 kB / 0.7579 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.6329, allocations: 23.98 kB / 0.7579 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.6349, allocations: 1.658 MB / 0.7595 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6349, allocations: 3.938 kB / 0.7595 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.637, allocations: 0.9082 MB / 0.7604 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.6374, allocations: 263.8 kB / 0.7606 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6376, allocations: 20 kB / 0.7607 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.6382, allocations: 63.92 kB / 0.7607 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6383, allocations: 64.91 kB / 0.7608 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.6384, allocations: 27.98 kB / 0.7608 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005658/0.639, allocations: 431 kB / 0.7612 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.639, allocations: 4 kB / 0.7612 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009262/0.6399, allocations: 303.3 kB / 0.7615 GB, free: 6.316 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.002042/0.642, allocations: 0.6159 MB / 0.7621 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.6446, allocations: 1.011 MB / 0.7631 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6446, allocations: 0 / 0.7631 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6457, allocations: 0.5201 MB / 0.7636 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6468, allocations: 289.8 kB / 0.7639 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.6509, allocations: 2.017 MB / 0.7659 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.6516, allocations: 0.9883 MB / 0.7668 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009183/0.6525, allocations: 266.2 kB / 0.7671 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.6528, allocations: 107.4 kB / 0.7672 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.6528, allocations: 0 / 0.7672 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of Templates: time 0.02596/0.6788, allocations: 14.38 MB / 0.7812 GB, free: 2.473 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)