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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_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.001042/0.001042, 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.001004/0.001005, 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8379/0.8379, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 57.34 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006993/0.1386, allocations: 6.208 MB / 0.5905 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3354/0.474, allocations: 153.2 MB / 0.7402 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009918/0.475, allocations: 37.34 kB / 0.7402 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008176/0.4758, allocations: 316.5 kB / 0.7405 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.4778, allocations: 0.6529 MB / 0.7411 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.4803, allocations: 1.293 MB / 0.7424 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.4825, allocations: 2.304 MB / 0.7446 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.4838, allocations: 1.061 MB / 0.7457 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.4848, allocations: 0.7754 MB / 0.7464 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4858, allocations: 0.7895 MB / 0.7472 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.4862, allocations: 186.4 kB / 0.7474 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.4875, allocations: 0.911 MB / 0.7483 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.4879, allocations: 0.4899 MB / 0.7488 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.4888, allocations: 0.9052 MB / 0.7496 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.4911, allocations: 2.636 MB / 0.7522 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.4911, allocations: 0 / 0.7522 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4911, allocations: 0 / 0.7522 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.423e-05/0.4911, allocations: 2.062 kB / 0.7522 GB, free: 0.8672 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.003045/0.4942, allocations: 2.168 MB / 0.7543 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4942, allocations: 12.03 kB / 0.7543 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.4944, allocations: 202.8 kB / 0.7545 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.4962, allocations: 358.4 kB / 0.7549 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.4976, allocations: 1.204 MB / 0.756 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.4977, allocations: 98.69 kB / 0.7561 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.4978, allocations: 128 kB / 0.7563 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.5001, allocations: 1.526 MB / 0.7578 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5001, allocations: 0 / 0.7578 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5003, allocations: 60 kB / 0.7578 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.5003, allocations: 32 kB / 0.7578 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.5033, allocations: 2.043 MB / 0.7598 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005767/0.509, allocations: 4.446 MB / 0.7642 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.5116, allocations: 1.428 MB / 0.7656 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009324/0.5125, allocations: 0.5378 MB / 0.7661 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/0.5126, allocations: 53.19 kB / 0.7662 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.5139, allocations: 0.7969 MB / 0.7669 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.455e-06/0.5139, allocations: 0 / 0.7669 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005219/0.5192, allocations: 2.113 MB / 0.769 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.5193, allocations: 347.3 kB / 0.7693 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.5205, allocations: 1.075 MB / 0.7704 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.5205, allocations: 53.7 kB / 0.7704 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.521, allocations: 0.6186 MB / 0.771 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.5213, allocations: 453.3 kB / 0.7715 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/0.5216, allocations: 258.8 kB / 0.7717 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5217, allocations: 349.9 kB / 0.772 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.5226, allocations: 434.4 kB / 0.7725 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5236, allocations: 0.6407 MB / 0.7731 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.5256, allocations: 1.071 MB / 0.7741 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5256, allocations: 4 kB / 0.7741 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003232/0.5288, allocations: 1.42 MB / 0.7755 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5288, allocations: 8 kB / 0.7755 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5289, allocations: 0 / 0.7755 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5299, allocations: 165.8 kB / 0.7757 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5309, allocations: 275.6 kB / 0.7759 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.5345, allocations: 3.281 MB / 0.7792 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/0.5355, allocations: 158 kB / 0.7793 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.5356, allocations: 59.95 kB / 0.7794 GB, free: 4.211 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: 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.0005312/0.5361, allocations: 380.6 kB / 0.7797 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5364, allocations: 146.2 kB / 0.7799 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.5407, allocations: 1.984 MB / 0.7818 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5408, allocations: 19.94 kB / 0.7818 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5408, allocations: 4 kB / 0.7818 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.5408, allocations: 7.969 kB / 0.7818 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5423, allocations: 1.472 MB / 0.7833 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5423, allocations: 0 / 0.7833 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5433, allocations: 275.7 kB / 0.7835 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007952/0.5441, allocations: 157.4 kB / 0.7837 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.5443, allocations: 47.97 kB / 0.7837 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/0.5476, allocations: 3.336 MB / 0.787 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5476, allocations: 0 / 0.787 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.5509, allocations: 1.631 MB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.5514, allocations: 430.6 kB / 0.789 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5516, allocations: 36 kB / 0.789 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.5526, allocations: 111.8 kB / 0.7891 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.5528, allocations: 113.8 kB / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.5529, allocations: 63.95 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008688/0.5538, allocations: 0.7418 MB / 0.79 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5538, allocations: 0 / 0.79 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001028/0.5548, allocations: 466.9 kB / 0.7905 GB, free: 8.422 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.004641/0.5595, allocations: 2.704 MB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003662/0.5631, allocations: 1.799 MB / 0.7949 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5632, allocations: 8 kB / 0.7949 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.5647, allocations: 0.9575 MB / 0.7958 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.5666, allocations: 0.5607 MB / 0.7964 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.5844, allocations: 11.13 MB / 0.8072 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.5852, allocations: 1.277 MB / 0.8085 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001403/0.5866, allocations: 0.4958 MB / 0.809 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.5874, allocations: 0.6632 MB / 0.8096 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.5874, allocations: 0 / 0.8096 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7601/1.348, allocations: 35.91 MB / 0.8447 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.78, allocations: 2.922 kB / 0.8447 GB, free: 1.062 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)