Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001164/0.001164, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7413/0.7413, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2891, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005599/0.2947, allocations: 6.225 MB / 0.5918 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1342/0.4289, allocations: 153.2 MB / 0.7415 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.4301, allocations: 31.81 kB / 0.7415 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.4311, allocations: 309 kB / 0.7418 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4333, allocations: 0.6628 MB / 0.7424 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4358, allocations: 1.298 MB / 0.7437 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.4379, allocations: 2.321 MB / 0.746 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.4391, allocations: 1.072 MB / 0.747 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.4399, allocations: 0.7785 MB / 0.7478 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.4406, allocations: 0.7877 MB / 0.7485 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.4408, allocations: 188 kB / 0.7487 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.4421, allocations: 0.9402 MB / 0.7496 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.4424, allocations: 490.4 kB / 0.7501 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006248/0.4431, allocations: 0.9054 MB / 0.751 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.263/0.7061, allocations: 2.7 MB / 0.7536 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7062, allocations: 3.562 kB / 0.7536 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7062, allocations: 0 / 0.7536 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.7062, allocations: 0.75 kB / 0.7536 GB, free: 7.609 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002951/0.7091, allocations: 2.16 MB / 0.7557 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.7092, allocations: 13.11 kB / 0.7558 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.7108, allocations: 352.6 kB / 0.7561 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.7123, allocations: 1.242 MB / 0.7573 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.7124, allocations: 99.41 kB / 0.7574 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7125, allocations: 128.9 kB / 0.7575 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.7147, allocations: 1.523 MB / 0.759 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7147, allocations: 1.875 kB / 0.759 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.7148, allocations: 60.06 kB / 0.7591 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.7149, allocations: 33.19 kB / 0.7591 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/0.7179, allocations: 2.042 MB / 0.7611 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/0.7236, allocations: 4.396 MB / 0.7654 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.7261, allocations: 1.429 MB / 0.7668 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007982/0.7269, allocations: 0.5337 MB / 0.7673 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.727, allocations: 57.5 kB / 0.7674 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.7281, allocations: 0.7955 MB / 0.7681 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.437e-06/0.7281, allocations: 2.781 kB / 0.7681 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005056/0.7332, allocations: 2.106 MB / 0.7702 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.7333, allocations: 354.7 kB / 0.7705 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7343, allocations: 1.076 MB / 0.7716 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.7344, allocations: 50.33 kB / 0.7716 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.7347, allocations: 0.6113 MB / 0.7722 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.7349, allocations: 455.6 kB / 0.7727 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.7353, allocations: 284.3 kB / 0.7729 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.7353, allocations: 354.5 kB / 0.7733 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.7361, allocations: 479 kB / 0.7737 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/0.7371, allocations: 0.6574 MB / 0.7744 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.7387, allocations: 1.117 MB / 0.7755 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7388, allocations: 6.688 kB / 0.7755 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002974/0.7417, allocations: 1.513 MB / 0.7769 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7418, allocations: 7.656 kB / 0.7769 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7418, allocations: 6.812 kB / 0.777 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/0.7427, allocations: 165.7 kB / 0.7771 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7438, allocations: 292.9 kB / 0.7774 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2934/1.037, allocations: 3.295 MB / 0.7806 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.039, allocations: 162.7 kB / 0.7808 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.039, allocations: 68.91 kB / 0.7808 GB, free: 15.26 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006852/1.04, allocations: 385.2 kB / 0.7812 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.04, allocations: 147.7 kB / 0.7813 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/1.043, allocations: 1.962 MB / 0.7833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.043, allocations: 16.91 kB / 0.7833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.043, allocations: 0 / 0.7833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.044, allocations: 13.42 kB / 0.7833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.045, allocations: 1.46 MB / 0.7847 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.045, allocations: 3 kB / 0.7847 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/1.046, allocations: 274.6 kB / 0.785 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/1.046, allocations: 144.9 kB / 0.7851 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/1.047, allocations: 49.69 kB / 0.7852 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/1.05, allocations: 3.347 MB / 0.7884 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.05, allocations: 4.844 kB / 0.7884 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/1.053, allocations: 1.624 MB / 0.79 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/1.053, allocations: 425.3 kB / 0.7904 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.053, allocations: 37.56 kB / 0.7905 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/1.054, allocations: 112.4 kB / 0.7906 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.054, allocations: 118.5 kB / 0.7907 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/1.054, allocations: 59.36 kB / 0.7907 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007437/1.055, allocations: 0.7437 MB / 0.7915 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.055, allocations: 1.641 kB / 0.7915 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001019/1.056, allocations: 478.6 kB / 0.7919 GB, free: 11.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/1.057, allocations: 0.6447 MB / 0.7926 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002371/1.06, allocations: 1.515 MB / 0.794 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.06, allocations: 0.9062 kB / 0.794 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.061, allocations: 0.9562 MB / 0.795 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.063, allocations: 0.5507 MB / 0.7955 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/1.068, allocations: 3.03 MB / 0.7985 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/1.069, allocations: 1.28 MB / 0.7997 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001203/1.07, allocations: 0.4971 MB / 0.8002 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/1.07, allocations: 183.7 kB / 0.8004 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/1.07, allocations: 2.781 kB / 0.8004 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of Templates: time 0.1687/1.239, allocations: 25.62 MB / 0.8254 GB, free: 8.094 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)