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.001425/0.001425, allocations: 116.6 kB / 16.37 MB, free: 6.012 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.001557/0.001557, allocations: 190.4 kB / 17.31 MB, free: 5.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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7976/0.7976, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 67.91 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4309, allocations: 80.91 MB / 0.5858 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007075/0.438, allocations: 6.214 MB / 0.5918 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.5999, allocations: 153.2 MB / 0.7415 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.6013, allocations: 35.81 kB / 0.7415 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008794/0.6022, allocations: 305.1 kB / 0.7418 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.6044, allocations: 0.6536 MB / 0.7424 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.6071, allocations: 1.298 MB / 0.7437 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.6094, allocations: 2.321 MB / 0.746 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.6108, allocations: 1.068 MB / 0.747 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6119, allocations: 0.7785 MB / 0.7478 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008895/0.6128, allocations: 0.7894 MB / 0.7485 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.6131, allocations: 188 kB / 0.7487 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.6147, allocations: 0.9364 MB / 0.7496 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.6151, allocations: 490.4 kB / 0.7501 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.6158, allocations: 0.9014 MB / 0.751 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3128/0.9287, allocations: 2.707 MB / 0.7536 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9287, allocations: 0 / 0.7536 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9287, allocations: 0.7812 kB / 0.7536 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.9287, allocations: 0 / 0.7536 GB, free: 7.566 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.003268/0.932, allocations: 2.159 MB / 0.7557 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.9321, allocations: 11.58 kB / 0.7557 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.9338, allocations: 353 kB / 0.7561 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.9355, allocations: 1.243 MB / 0.7573 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.9356, allocations: 100 kB / 0.7574 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.9357, allocations: 130.7 kB / 0.7575 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.9381, allocations: 1.526 MB / 0.759 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.9381, allocations: 2.125 kB / 0.759 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.9383, allocations: 60.03 kB / 0.7591 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.9383, allocations: 33.09 kB / 0.7591 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/0.9416, allocations: 2.039 MB / 0.7611 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/0.9492, allocations: 4.394 MB / 0.7654 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.9521, allocations: 1.435 MB / 0.7668 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009402/0.9531, allocations: 0.5362 MB / 0.7673 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.9532, allocations: 56.55 kB / 0.7674 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.9545, allocations: 0.7946 MB / 0.7681 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.076e-06/0.9545, allocations: 0.9062 kB / 0.7681 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.006113/0.9606, allocations: 2.107 MB / 0.7702 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.9608, allocations: 358.8 kB / 0.7705 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.9621, allocations: 1.074 MB / 0.7716 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.9622, allocations: 52.42 kB / 0.7716 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.9627, allocations: 0.6086 MB / 0.7722 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.963, allocations: 452.9 kB / 0.7727 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/0.9634, allocations: 280.9 kB / 0.7729 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.9635, allocations: 356.2 kB / 0.7733 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008654/0.9643, allocations: 480.9 kB / 0.7737 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.9653, allocations: 0.6534 MB / 0.7744 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.9672, allocations: 1.118 MB / 0.7755 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.9672, allocations: 3.938 kB / 0.7755 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003487/0.9707, allocations: 1.515 MB / 0.7769 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9707, allocations: 10.16 kB / 0.7769 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9707, allocations: 0 / 0.7769 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.9718, allocations: 175.2 kB / 0.7771 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.9729, allocations: 292.3 kB / 0.7774 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.9762, allocations: 3.29 MB / 0.7806 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.9776, allocations: 164.3 kB / 0.7808 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.9777, allocations: 66.14 kB / 0.7808 GB, free: 15.21 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.0007197/0.9785, allocations: 389.3 kB / 0.7812 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.9787, allocations: 145.6 kB / 0.7813 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.9827, allocations: 1.965 MB / 0.7833 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.9828, allocations: 18.72 kB / 0.7833 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9828, allocations: 0.8125 kB / 0.7833 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9828, allocations: 12.28 kB / 0.7833 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.9844, allocations: 1.464 MB / 0.7847 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9844, allocations: 0 / 0.7847 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.9854, allocations: 281.2 kB / 0.785 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007707/0.9862, allocations: 145.9 kB / 0.7851 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.9863, allocations: 44.92 kB / 0.7852 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.9898, allocations: 3.342 MB / 0.7884 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9898, allocations: 9.781 kB / 0.7884 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.9931, allocations: 1.622 MB / 0.79 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.9938, allocations: 432.1 kB / 0.7904 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.994, allocations: 33.09 kB / 0.7905 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.9949, allocations: 110.5 kB / 0.7906 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.9951, allocations: 119.1 kB / 0.7907 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.9952, allocations: 59.64 kB / 0.7907 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000866/0.9961, allocations: 0.7435 MB / 0.7915 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.12e-07/0.9961, allocations: 0.7188 kB / 0.7915 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00119/0.9973, allocations: 476.8 kB / 0.7919 GB, free: 11.18 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.001316/0.9986, allocations: 0.6427 MB / 0.7925 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002692/1.001, allocations: 1.518 MB / 0.794 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.001, allocations: 0.9688 kB / 0.794 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.003, allocations: 0.9569 MB / 0.795 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.005, allocations: 0.5498 MB / 0.7955 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/1.011, allocations: 3.031 MB / 0.7985 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/1.012, allocations: 1.281 MB / 0.7997 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001524/1.013, allocations: 0.4916 MB / 0.8002 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/1.014, allocations: 189.6 kB / 0.8004 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.014, allocations: 1.531 kB / 0.8004 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.0407/1.054, allocations: 25.61 MB / 0.8254 GB, free: 7.973 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)