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.0008775/0.0008817, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004848/0.004848, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7158/0.7158, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8.938 kB / 0.5041 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3444, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005826/0.3503, allocations: 5.719 MB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.4983, allocations: 149.2 MB / 0.7351 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4996, allocations: 31.81 kB / 0.7351 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.5005, allocations: 250 kB / 0.7353 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.5027, allocations: 0.5534 MB / 0.7359 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.5055, allocations: 1.148 MB / 0.737 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.5079, allocations: 2.149 MB / 0.7391 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.5092, allocations: 1.032 MB / 0.7401 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.5099, allocations: 0.5559 MB / 0.7406 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.5105, allocations: 0.6155 MB / 0.7412 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5107, allocations: 47.94 kB / 0.7413 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5119, allocations: 0.7685 MB / 0.742 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.5122, allocations: 326.4 kB / 0.7424 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.5127, allocations: 0.7352 MB / 0.7431 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.5148, allocations: 2.472 MB / 0.7455 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.5148, allocations: 0 / 0.7455 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5148, allocations: 0 / 0.7455 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5148, allocations: 0 / 0.7455 GB, free: 10.19 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.002772/0.5176, allocations: 1.806 MB / 0.7473 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5176, allocations: 8.031 kB / 0.7473 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.5179, allocations: 202.7 kB / 0.7475 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5196, allocations: 386 kB / 0.7478 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.5211, allocations: 1.2 MB / 0.749 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.5212, allocations: 102.7 kB / 0.7491 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.5214, allocations: 128 kB / 0.7492 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.5238, allocations: 1.539 MB / 0.7507 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.5239, allocations: 3.938 kB / 0.7507 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.524, allocations: 64 kB / 0.7508 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.524, allocations: 32 kB / 0.7508 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.5271, allocations: 2.055 MB / 0.7528 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006174/0.5333, allocations: 4.489 MB / 0.7572 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.5359, allocations: 1.442 MB / 0.7586 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009852/0.5369, allocations: 0.5516 MB / 0.7592 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.537, allocations: 61.11 kB / 0.7592 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.5384, allocations: 0.8159 MB / 0.76 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 2.856e-06/0.5384, allocations: 0 / 0.76 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.005385/0.5438, allocations: 2.119 MB / 0.7621 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.544, allocations: 367.2 kB / 0.7624 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.5452, allocations: 1.068 MB / 0.7635 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.5453, allocations: 57.64 kB / 0.7635 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.5458, allocations: 0.6224 MB / 0.7641 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.5462, allocations: 445.5 kB / 0.7646 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5463, allocations: 97.66 kB / 0.7646 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5464, allocations: 353.9 kB / 0.765 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/0.5474, allocations: 446.4 kB / 0.7654 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.5485, allocations: 0.6446 MB / 0.766 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5505, allocations: 1.087 MB / 0.7671 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5505, allocations: 4 kB / 0.7671 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00327/0.5538, allocations: 1.439 MB / 0.7685 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5538, allocations: 4 kB / 0.7685 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.5538, allocations: 4 kB / 0.7685 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5549, allocations: 169.8 kB / 0.7687 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5559, allocations: 267.6 kB / 0.7689 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.5595, allocations: 3.074 MB / 0.7719 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5605, allocations: 168.7 kB / 0.7721 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/0.5606, allocations: 52.06 kB / 0.7721 GB, free: 13.98 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.0006219/0.5613, allocations: 382.1 kB / 0.7725 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.5615, allocations: 146.2 kB / 0.7727 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.5659, allocations: 1.996 MB / 0.7746 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5659, allocations: 16 kB / 0.7746 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5659, allocations: 4 kB / 0.7746 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.5659, allocations: 11.91 kB / 0.7746 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.5675, allocations: 1.483 MB / 0.7761 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5675, allocations: 0 / 0.7761 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5686, allocations: 279.7 kB / 0.7763 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009715/0.5695, allocations: 169.5 kB / 0.7765 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.5696, allocations: 47.91 kB / 0.7766 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.5729, allocations: 3.119 MB / 0.7796 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5729, allocations: 0 / 0.7796 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.5762, allocations: 1.642 MB / 0.7812 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.5768, allocations: 462.4 kB / 0.7816 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.577, allocations: 35.94 kB / 0.7817 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.578, allocations: 139.9 kB / 0.7818 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.5782, allocations: 109.8 kB / 0.7819 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5783, allocations: 63.95 kB / 0.782 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009099/0.5792, allocations: 0.7457 MB / 0.7827 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5792, allocations: 0 / 0.7827 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001062/0.5803, allocations: 462.9 kB / 0.7831 GB, free: 2.305 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.00476/0.5851, allocations: 2.736 MB / 0.7858 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.5878, allocations: 1.448 MB / 0.7872 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5878, allocations: 0 / 0.7872 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.5895, allocations: 0.9691 MB / 0.7882 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.5915, allocations: 0.503 MB / 0.7887 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.6129, allocations: 11.91 MB / 0.8003 GB, free: 484 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.6137, allocations: 1.29 MB / 0.8016 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001541/0.6153, allocations: 499.8 kB / 0.802 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.6161, allocations: 0.6593 MB / 0.8027 GB, free: 14 MB / 0.6387 GB Notification: Performance of SimCode: time 6.22e-07/0.6161, allocations: 4 kB / 0.8027 GB, free: 14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/0.9062, allocations: 34.31 MB / 0.8362 GB, free: 208 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.9064, allocations: 280.2 kB / 0.8365 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.438, allocations: 0 / 0.8365 GB, free: 207.6 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)