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.001056/0.001056, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001225/0.001225, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 65.12 kB / 0.5013 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1766, allocations: 80.21 MB / 0.5796 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007447/0.1841, allocations: 4.196 MB / 0.5837 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5697/0.7539, allocations: 148.2 MB / 0.7285 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008891/0.7548, allocations: 20.34 kB / 0.7285 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.7555, allocations: 130.3 kB / 0.7286 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.7571, allocations: 429.5 kB / 0.729 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.7591, allocations: 0.7071 MB / 0.7297 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.7605, allocations: 1.216 MB / 0.7309 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.7614, allocations: 0.5534 MB / 0.7314 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.762, allocations: 430.9 kB / 0.7319 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.7626, allocations: 429.5 kB / 0.7323 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.7627, allocations: 96.62 kB / 0.7324 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.7643, allocations: 0.8345 MB / 0.7332 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.7646, allocations: 261.5 kB / 0.7334 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.7651, allocations: 479.5 kB / 0.7339 GB, free: 284 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.767, allocations: 1.606 MB / 0.7354 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.767, allocations: 0 / 0.7354 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.767, allocations: 0 / 0.7354 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.7671, allocations: 1.969 kB / 0.7354 GB, free: 15.64 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.002258/0.7693, allocations: 1.346 MB / 0.7368 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.7694, allocations: 9.125 kB / 0.7368 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7705, allocations: 199.3 kB / 0.737 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.7715, allocations: 0.695 MB / 0.7376 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.7715, allocations: 54.84 kB / 0.7377 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.7716, allocations: 67.19 kB / 0.7378 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7732, allocations: 0.8367 MB / 0.7386 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.7732, allocations: 1.438 kB / 0.7386 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.7733, allocations: 37.95 kB / 0.7386 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.7733, allocations: 16.66 kB / 0.7386 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.7752, allocations: 1.077 MB / 0.7397 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.779, allocations: 2.368 MB / 0.742 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.7803, allocations: 0.7434 MB / 0.7427 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.781, allocations: 302.8 kB / 0.743 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.694e-05/0.7811, allocations: 29.55 kB / 0.743 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009792/0.7821, allocations: 465.8 kB / 0.7435 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.7821, allocations: 0 / 0.7435 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003515/0.7856, allocations: 1.169 MB / 0.7446 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.7857, allocations: 192.5 kB / 0.7448 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.7865, allocations: 0.6017 MB / 0.7454 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.7866, allocations: 44.52 kB / 0.7454 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.7869, allocations: 352.4 kB / 0.7458 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.7871, allocations: 240.5 kB / 0.746 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.7874, allocations: 158.5 kB / 0.7462 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7876, allocations: 386.8 kB / 0.7465 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.7882, allocations: 261.8 kB / 0.7468 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.789, allocations: 363.9 kB / 0.7471 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.7903, allocations: 0.6167 MB / 0.7477 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7903, allocations: 4 kB / 0.7477 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002148/0.7925, allocations: 0.8408 MB / 0.7485 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7925, allocations: 7.938 kB / 0.7486 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7925, allocations: 4 kB / 0.7486 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.7931, allocations: 76.91 kB / 0.7486 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.7938, allocations: 175.7 kB / 0.7488 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.7962, allocations: 1.639 MB / 0.7504 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.797, allocations: 83.53 kB / 0.7505 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.7971, allocations: 39.97 kB / 0.7505 GB, free: 3.672 MB / 0.5606 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.0005379/0.7977, allocations: 251.2 kB / 0.7508 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.7979, allocations: 79.06 kB / 0.7508 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.8007, allocations: 1.107 MB / 0.7519 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.8007, allocations: 8 kB / 0.7519 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8008, allocations: 0 / 0.7519 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.8008, allocations: 3.984 kB / 0.7519 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.802, allocations: 0.8438 MB / 0.7527 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.802, allocations: 0 / 0.7527 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.8026, allocations: 159.8 kB / 0.7529 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/0.8032, allocations: 72.78 kB / 0.753 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.8033, allocations: 27.98 kB / 0.753 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.8058, allocations: 1.67 MB / 0.7546 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8058, allocations: 7.938 kB / 0.7546 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.808, allocations: 0.8967 MB / 0.7555 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.8086, allocations: 267.8 kB / 0.7558 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.8087, allocations: 16 kB / 0.7558 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.8093, allocations: 63.92 kB / 0.7558 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8095, allocations: 64.91 kB / 0.7559 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.8096, allocations: 31.98 kB / 0.7559 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007004/0.8103, allocations: 431 kB / 0.7563 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8103, allocations: 0 / 0.7563 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00101/0.8113, allocations: 303.3 kB / 0.7566 GB, free: 13.15 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.001485/0.8128, allocations: 0.6107 MB / 0.7572 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.8155, allocations: 1.011 MB / 0.7582 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8156, allocations: 0 / 0.7582 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8166, allocations: 0.5158 MB / 0.7587 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8178, allocations: 287.2 kB / 0.759 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.822, allocations: 2.022 MB / 0.761 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009186/0.8229, allocations: 0.9916 MB / 0.7619 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001033/0.8239, allocations: 258.3 kB / 0.7622 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.8242, allocations: 111.4 kB / 0.7623 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.8242, allocations: 0 / 0.7623 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.02582/0.8501, allocations: 14.38 MB / 0.7763 GB, free: 9.316 MB / 0.5919 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)