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.001138/0.001138, 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.001453/0.001453, allocations: 191 kB / 16.25 MB, free: 6.637 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.344/1.344, 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-master/package.mo): time 0.9543/0.9543, allocations: 135.2 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.73 kB / 0.5049 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1669, allocations: 80.94 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008705/0.1756, allocations: 6.189 MB / 0.59 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4334/0.6091, allocations: 150.9 MB / 0.7374 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.6106, allocations: 34.03 kB / 0.7374 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.6115, allocations: 250.5 kB / 0.7376 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.6136, allocations: 0.5632 MB / 0.7382 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.6167, allocations: 1.169 MB / 0.7393 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.6198, allocations: 2.32 MB / 0.7416 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.6213, allocations: 1.067 MB / 0.7426 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.6227, allocations: 0.7767 MB / 0.7434 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6238, allocations: 0.8045 MB / 0.7442 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.624, allocations: 191.6 kB / 0.7444 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6257, allocations: 0.9116 MB / 0.7453 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.6261, allocations: 497.5 kB / 0.7457 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.627, allocations: 0.9072 MB / 0.7466 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003408/0.6304, allocations: 2.628 MB / 0.7492 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6304, allocations: 0 / 0.7492 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6304, allocations: 0 / 0.7492 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.6304, allocations: 0 / 0.7492 GB, free: 3.637 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003961/0.6344, allocations: 2.165 MB / 0.7513 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6345, allocations: 8.031 kB / 0.7513 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6364, allocations: 361.7 kB / 0.7517 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.638, allocations: 1.192 MB / 0.7528 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/0.6381, allocations: 102.8 kB / 0.7529 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.6383, allocations: 124 kB / 0.753 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.6409, allocations: 1.532 MB / 0.7545 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.641, allocations: 3.938 kB / 0.7545 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.6411, allocations: 60 kB / 0.7546 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.6411, allocations: 32 kB / 0.7546 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.6443, allocations: 2.043 MB / 0.7566 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.6516, allocations: 4.439 MB / 0.761 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.6544, allocations: 1.432 MB / 0.7624 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/0.6554, allocations: 0.5399 MB / 0.7629 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.6555, allocations: 49.12 kB / 0.7629 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.6571, allocations: 0.7997 MB / 0.7637 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.965e-06/0.6571, allocations: 0 / 0.7637 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005978/0.6631, allocations: 2.104 MB / 0.7658 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.6633, allocations: 359.2 kB / 0.7661 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.6649, allocations: 1.071 MB / 0.7672 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.665, allocations: 57.64 kB / 0.7672 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/0.6655, allocations: 0.6161 MB / 0.7678 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/0.666, allocations: 450.7 kB / 0.7682 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.6664, allocations: 282.7 kB / 0.7685 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6666, allocations: 365.9 kB / 0.7689 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.6676, allocations: 470.3 kB / 0.7693 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.6688, allocations: 0.6535 MB / 0.7699 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.6709, allocations: 1.12 MB / 0.771 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.671, allocations: 0 / 0.771 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003852/0.6748, allocations: 1.516 MB / 0.7725 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.6749, allocations: 11.94 kB / 0.7725 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.6749, allocations: 0 / 0.7725 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.676, allocations: 165.8 kB / 0.7727 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6772, allocations: 291.6 kB / 0.773 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.6813, allocations: 3.29 MB / 0.7762 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.683, allocations: 162.8 kB / 0.7763 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.6831, allocations: 67.94 kB / 0.7764 GB, free: 7.117 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.0008169/0.6839, allocations: 379.8 kB / 0.7768 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.6843, allocations: 150.2 kB / 0.7769 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.689, allocations: 1.978 MB / 0.7788 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.689, allocations: 19.94 kB / 0.7789 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.689, allocations: 0 / 0.7789 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.6891, allocations: 7.969 kB / 0.7789 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.6911, allocations: 1.463 MB / 0.7803 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.6912, allocations: 0 / 0.7803 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.6923, allocations: 279.6 kB / 0.7806 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.6933, allocations: 145.5 kB / 0.7807 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.6935, allocations: 43.97 kB / 0.7807 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/0.698, allocations: 3.347 MB / 0.784 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.698, allocations: 4.031 kB / 0.784 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/0.7026, allocations: 1.627 MB / 0.7856 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7037, allocations: 426.5 kB / 0.786 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.7041, allocations: 39.94 kB / 0.786 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.7054, allocations: 100.7 kB / 0.7861 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.7057, allocations: 129.8 kB / 0.7863 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.7058, allocations: 55.97 kB / 0.7863 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001346/0.7072, allocations: 0.7417 MB / 0.787 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7072, allocations: 0 / 0.787 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001602/0.7088, allocations: 482.9 kB / 0.7875 GB, free: 11.33 MB / 0.6075 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.001641/0.7105, allocations: 0.6341 MB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004588/0.7151, allocations: 1.862 MB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.7151, allocations: 4 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.717, allocations: 0.9575 MB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.7197, allocations: 0.5577 MB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.7276, allocations: 3.746 MB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.7287, allocations: 1.292 MB / 0.7963 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002037/0.7307, allocations: 499.8 kB / 0.7968 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.7313, allocations: 187.3 kB / 0.797 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.7313, allocations: 0 / 0.797 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.04669/0.778, allocations: 25.5 MB / 0.8219 GB, free: 8.52 MB / 0.6387 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)