Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008434/0.0008432, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007718/0.007718, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003707, allocations: 9.875 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4913, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006374/0.4978, allocations: 5.721 MB / 0.5893 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1707/0.6685, allocations: 149.2 MB / 0.735 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.6703, allocations: 31.81 kB / 0.735 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6715, allocations: 250 kB / 0.7353 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.6746, allocations: 0.5532 MB / 0.7358 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.6785, allocations: 1.144 MB / 0.7369 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.6818, allocations: 2.161 MB / 0.739 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.6832, allocations: 1.017 MB / 0.74 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.6844, allocations: 0.5559 MB / 0.7406 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.6853, allocations: 0.6099 MB / 0.7412 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6854, allocations: 44 kB / 0.7412 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.6869, allocations: 0.7723 MB / 0.742 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.6872, allocations: 322.4 kB / 0.7423 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.6879, allocations: 0.743 MB / 0.743 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.6902, allocations: 2.464 MB / 0.7454 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6902, allocations: 0 / 0.7454 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.866e-06/0.6902, allocations: 3.984 kB / 0.7454 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.6903, allocations: 4 kB / 0.7454 GB, free: 10.18 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.003108/0.6934, allocations: 1.788 MB / 0.7472 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6934, allocations: 12.03 kB / 0.7472 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.6954, allocations: 378.2 kB / 0.7475 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.6971, allocations: 1.204 MB / 0.7487 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.6972, allocations: 94.69 kB / 0.7488 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.6974, allocations: 132 kB / 0.7489 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.7, allocations: 1.532 MB / 0.7504 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.7001, allocations: 0 / 0.7504 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.7002, allocations: 60 kB / 0.7505 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.7002, allocations: 32 kB / 0.7505 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.7035, allocations: 2.059 MB / 0.7525 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.7102, allocations: 4.497 MB / 0.7569 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.713, allocations: 1.442 MB / 0.7583 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.714, allocations: 0.5476 MB / 0.7588 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.7141, allocations: 65.17 kB / 0.7589 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.7156, allocations: 0.796 MB / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 2.886e-06/0.7156, allocations: 0 / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.00564/0.7212, allocations: 2.135 MB / 0.7618 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.7214, allocations: 351.3 kB / 0.7621 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.7229, allocations: 1.075 MB / 0.7632 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.723, allocations: 53.7 kB / 0.7632 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.7235, allocations: 0.6105 MB / 0.7638 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.7238, allocations: 457.4 kB / 0.7642 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.724, allocations: 109.7 kB / 0.7643 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7242, allocations: 361.9 kB / 0.7647 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.7252, allocations: 490.3 kB / 0.7652 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.7264, allocations: 0.6604 MB / 0.7658 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.7287, allocations: 1.131 MB / 0.7669 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7287, allocations: 0 / 0.7669 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003847/0.7325, allocations: 1.543 MB / 0.7684 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.7326, allocations: 4 kB / 0.7684 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7326, allocations: 4 kB / 0.7684 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.7337, allocations: 165.8 kB / 0.7686 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.7351, allocations: 295.6 kB / 0.7689 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.7392, allocations: 3.07 MB / 0.7719 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.7406, allocations: 186.8 kB / 0.772 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.7407, allocations: 67.94 kB / 0.7721 GB, free: 13.96 MB / 0.6075 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.0007245/0.7414, allocations: 391.7 kB / 0.7725 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.7417, allocations: 146.2 kB / 0.7726 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.7464, allocations: 1.999 MB / 0.7746 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.7464, allocations: 16 kB / 0.7746 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7465, allocations: 0 / 0.7746 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.7465, allocations: 7.969 kB / 0.7746 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.7483, allocations: 1.471 MB / 0.776 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/0.7484, allocations: 0 / 0.776 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7494, allocations: 283.6 kB / 0.7763 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.7505, allocations: 169.5 kB / 0.7765 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.7506, allocations: 47.97 kB / 0.7765 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.7542, allocations: 3.119 MB / 0.7796 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7542, allocations: 0 / 0.7796 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.7583, allocations: 1.638 MB / 0.7812 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/0.7592, allocations: 454.5 kB / 0.7816 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.7594, allocations: 28 kB / 0.7816 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7605, allocations: 143.8 kB / 0.7818 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.7607, allocations: 113.8 kB / 0.7819 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.7609, allocations: 59.97 kB / 0.7819 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001127/0.762, allocations: 0.7455 MB / 0.7826 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.762, allocations: 0 / 0.7826 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00132/0.7633, allocations: 478.9 kB / 0.7831 GB, free: 2.297 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.001407/0.7647, allocations: 0.6315 MB / 0.7837 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003182/0.7679, allocations: 1.526 MB / 0.7852 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.768, allocations: 4 kB / 0.7852 GB, free: 332 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.7698, allocations: 0.9615 MB / 0.7862 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.7723, allocations: 0.495 MB / 0.7866 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.7802, allocations: 3.857 MB / 0.7904 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.7811, allocations: 1.278 MB / 0.7916 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001781/0.7829, allocations: 0.4957 MB / 0.7921 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.7834, allocations: 183.3 kB / 0.7923 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.7834, allocations: 0 / 0.7923 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of Templates: time 0.04345/0.8269, allocations: 24.43 MB / 0.8162 GB, free: 0.8281 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)