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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7039/0.7039, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 56.75 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006407/0.3226, allocations: 6.229 MB / 0.5863 GB, free: 80 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1434/0.4661, allocations: 153.2 MB / 0.7359 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/0.4671, allocations: 39.81 kB / 0.7359 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.4678, allocations: 313 kB / 0.7362 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.4694, allocations: 0.6577 MB / 0.7369 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.4719, allocations: 1.288 MB / 0.7381 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.4736, allocations: 2.301 MB / 0.7404 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.4747, allocations: 1.072 MB / 0.7414 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.4755, allocations: 0.7708 MB / 0.7422 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.4762, allocations: 0.7997 MB / 0.743 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.4764, allocations: 184 kB / 0.7431 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.4777, allocations: 0.913 MB / 0.744 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.4781, allocations: 498.4 kB / 0.7445 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.4787, allocations: 0.8976 MB / 0.7454 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.4809, allocations: 2.644 MB / 0.748 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4809, allocations: 0 / 0.748 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4809, allocations: 0 / 0.748 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.4809, allocations: 0 / 0.748 GB, free: 5.074 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.003029/0.484, allocations: 2.158 MB / 0.7501 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.484, allocations: 11.97 kB / 0.7501 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.4842, allocations: 202.8 kB / 0.7503 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.486, allocations: 358 kB / 0.7506 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4875, allocations: 1.208 MB / 0.7518 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.4876, allocations: 98.69 kB / 0.7519 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4877, allocations: 128 kB / 0.752 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.49, allocations: 1.52 MB / 0.7535 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.49, allocations: 4 kB / 0.7535 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4902, allocations: 56 kB / 0.7535 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4902, allocations: 32 kB / 0.7536 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.4932, allocations: 2.055 MB / 0.7556 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.4991, allocations: 4.455 MB / 0.7599 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.5017, allocations: 1.423 MB / 0.7613 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/0.5027, allocations: 0.536 MB / 0.7618 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5028, allocations: 57.19 kB / 0.7619 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.5042, allocations: 0.7968 MB / 0.7627 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 2.695e-06/0.5042, allocations: 0 / 0.7627 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.005373/0.5095, allocations: 2.107 MB / 0.7647 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.5097, allocations: 351.3 kB / 0.7651 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.5108, allocations: 1.068 MB / 0.7661 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.5109, allocations: 49.7 kB / 0.7662 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5114, allocations: 0.6263 MB / 0.7668 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.5116, allocations: 457.4 kB / 0.7672 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.512, allocations: 246.8 kB / 0.7674 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5121, allocations: 353.9 kB / 0.7678 GB, free: 252 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.513, allocations: 430.5 kB / 0.7682 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.5141, allocations: 0.6446 MB / 0.7688 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.5161, allocations: 1.071 MB / 0.7699 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5161, allocations: 96 / 0.7699 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003272/0.5194, allocations: 1.42 MB / 0.7713 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5194, allocations: 11.94 kB / 0.7713 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5194, allocations: 4 kB / 0.7713 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.5205, allocations: 161.8 kB / 0.7714 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.5215, allocations: 271.6 kB / 0.7717 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.5251, allocations: 3.29 MB / 0.7749 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.5261, allocations: 150.8 kB / 0.775 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-05/0.5262, allocations: 59.95 kB / 0.7751 GB, free: 8.348 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: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,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 (145): * Single equations (assignments): 143 * 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.0004987/0.5267, allocations: 386.3 kB / 0.7755 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.5269, allocations: 142.2 kB / 0.7756 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.5313, allocations: 1.988 MB / 0.7775 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5313, allocations: 16 kB / 0.7776 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5313, allocations: 0 / 0.7776 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.5313, allocations: 7.969 kB / 0.7776 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.5328, allocations: 1.472 MB / 0.779 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5328, allocations: 3.938 kB / 0.779 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5339, allocations: 279.7 kB / 0.7793 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008219/0.5347, allocations: 145.5 kB / 0.7794 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/0.5348, allocations: 47.97 kB / 0.7795 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.5382, allocations: 3.336 MB / 0.7827 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5382, allocations: 0 / 0.7827 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.5415, allocations: 1.627 MB / 0.7843 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.542, allocations: 434.6 kB / 0.7847 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.5422, allocations: 39.94 kB / 0.7848 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.5432, allocations: 110.4 kB / 0.7849 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.5434, allocations: 113.8 kB / 0.785 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5436, allocations: 63.95 kB / 0.785 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000869/0.5444, allocations: 0.7457 MB / 0.7858 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5444, allocations: 3.938 kB / 0.7858 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009754/0.5454, allocations: 470.8 kB / 0.7862 GB, free: 12.55 MB / 0.6231 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.004752/0.5502, allocations: 2.705 MB / 0.7889 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003728/0.5539, allocations: 1.799 MB / 0.7906 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5539, allocations: 0 / 0.7906 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.5555, allocations: 0.9536 MB / 0.7915 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5574, allocations: 0.5533 MB / 0.7921 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.5756, allocations: 11.13 MB / 0.8029 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.5764, allocations: 1.286 MB / 0.8042 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00144/0.5778, allocations: 0.4914 MB / 0.8047 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008092/0.5787, allocations: 0.6593 MB / 0.8053 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.5787, allocations: 0 / 0.8053 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7445/1.323, allocations: 35.9 MB / 0.8404 GB, free: 208 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.67, allocations: 6.844 kB / 0.8404 GB, free: 208 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)