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.007434/0.007434, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001785/0.001785, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9356/0.9356, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 0.5851 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3964, allocations: 80.9 MB / 0.6641 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006342/0.4028, allocations: 6.229 MB / 0.6702 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.5782, allocations: 153.2 MB / 0.8198 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.5794, allocations: 31.88 kB / 0.8199 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.5802, allocations: 313 kB / 0.8202 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.5822, allocations: 0.6554 MB / 0.8208 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.585, allocations: 1.29 MB / 0.8221 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.5875, allocations: 2.325 MB / 0.8243 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.5889, allocations: 1.072 MB / 0.8254 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.59, allocations: 0.7863 MB / 0.8261 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000853/0.5909, allocations: 0.7894 MB / 0.8269 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.5912, allocations: 188 kB / 0.8271 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.5927, allocations: 0.948 MB / 0.828 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.5931, allocations: 498.4 kB / 0.8285 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.5938, allocations: 0.8937 MB / 0.8294 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.5966, allocations: 2.714 MB / 0.832 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5966, allocations: 8 kB / 0.832 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5966, allocations: 0 / 0.832 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.5966, allocations: 4 kB / 0.832 GB, free: 5.035 MB / 0.6544 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.003429/0.6001, allocations: 2.154 MB / 0.8341 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6001, allocations: 12.03 kB / 0.8341 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.6003, allocations: 194.8 kB / 0.8343 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.6022, allocations: 366 kB / 0.8347 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.6043, allocations: 1.243 MB / 0.8359 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/0.6044, allocations: 98.62 kB / 0.836 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.6045, allocations: 132 kB / 0.8361 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.6072, allocations: 1.524 MB / 0.8376 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.6072, allocations: 0 / 0.8376 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.6074, allocations: 64 kB / 0.8377 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.6074, allocations: 32 kB / 0.8377 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/0.6106, allocations: 2.043 MB / 0.8397 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006914/0.6175, allocations: 4.401 MB / 0.844 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.6205, allocations: 1.43 MB / 0.8454 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000998/0.6215, allocations: 0.5321 MB / 0.8459 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.6216, allocations: 57.17 kB / 0.846 GB, free: 6.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.6232, allocations: 0.7959 MB / 0.8467 GB, free: 5.617 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 3.596e-06/0.6232, allocations: 0 / 0.8467 GB, free: 5.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.005895/0.6291, allocations: 2.1 MB / 0.8488 GB, free: 3.473 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.6293, allocations: 359.2 kB / 0.8491 GB, free: 3.043 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.6308, allocations: 1.068 MB / 0.8502 GB, free: 1.965 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.6309, allocations: 53.7 kB / 0.8502 GB, free: 1.906 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.6314, allocations: 0.6224 MB / 0.8508 GB, free: 1.277 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.6318, allocations: 449.5 kB / 0.8513 GB, free: 0.832 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.6322, allocations: 250.7 kB / 0.8515 GB, free: 0.582 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6323, allocations: 357.9 kB / 0.8518 GB, free: 232 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.6333, allocations: 438.3 kB / 0.8523 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.6344, allocations: 0.6368 MB / 0.8529 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.6365, allocations: 1.075 MB / 0.8539 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6366, allocations: 3.938 kB / 0.8539 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003664/0.6402, allocations: 1.416 MB / 0.8553 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6403, allocations: 8.281 kB / 0.8553 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6403, allocations: 7.984 kB / 0.8553 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.6414, allocations: 161.5 kB / 0.8555 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6425, allocations: 275.6 kB / 0.8557 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.6465, allocations: 3.288 MB / 0.859 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6478, allocations: 153.6 kB / 0.8591 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.6479, allocations: 59.95 kB / 0.8592 GB, free: 8.32 MB / 0.6856 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.0007191/0.6486, allocations: 375 kB / 0.8595 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.6489, allocations: 150.2 kB / 0.8597 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.6536, allocations: 1.964 MB / 0.8616 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.6536, allocations: 16 kB / 0.8616 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6536, allocations: 4 kB / 0.8616 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.6536, allocations: 7.969 kB / 0.8616 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.6554, allocations: 1.471 MB / 0.863 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6554, allocations: 7.938 kB / 0.8631 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6565, allocations: 279.6 kB / 0.8633 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/0.6573, allocations: 145.6 kB / 0.8635 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/0.6574, allocations: 47.91 kB / 0.8635 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.6613, allocations: 3.336 MB / 0.8668 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6613, allocations: 4.125 kB / 0.8668 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3229/0.9842, allocations: 1.623 MB / 0.8683 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/0.985, allocations: 434.5 kB / 0.8688 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.9852, allocations: 36.66 kB / 0.8688 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.9862, allocations: 109.8 kB / 0.8689 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.9865, allocations: 117.2 kB / 0.869 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.9866, allocations: 61.45 kB / 0.8691 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001168/0.9878, allocations: 0.7472 MB / 0.8698 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9878, allocations: 0 / 0.8698 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001292/0.9891, allocations: 465.9 kB / 0.8702 GB, free: 189.9 MB / 0.6856 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.005183/0.9943, allocations: 2.706 MB / 0.8729 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.9974, allocations: 1.461 MB / 0.8743 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9975, allocations: 3.938 kB / 0.8743 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.9993, allocations: 0.9462 MB / 0.8752 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.002, allocations: 0.5638 MB / 0.8758 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.022, allocations: 10.39 MB / 0.8859 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/1.022, allocations: 1.282 MB / 0.8872 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001544/1.024, allocations: 0.494 MB / 0.8877 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/1.025, allocations: 0.6594 MB / 0.8883 GB, free: 181 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.025, allocations: 0 / 0.8883 GB, free: 181 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/1.102, allocations: 36.98 MB / 0.9244 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.68, allocations: 7.766 kB / 0.9244 GB, free: 151.7 MB / 0.6856 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)