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.001021/0.001021, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001348/0.001348, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9095/0.9095, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003719, allocations: 8.5 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006114/0.1699, allocations: 5.354 MB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4423/0.6122, allocations: 139.2 MB / 0.7287 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009184/0.6132, allocations: 32.81 kB / 0.7287 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.6138, allocations: 226.1 kB / 0.7289 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.6155, allocations: 0.5349 MB / 0.7294 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.6185, allocations: 0.9953 MB / 0.7304 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.6214, allocations: 1.982 MB / 0.7324 GB, free: 2.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6225, allocations: 0.7425 MB / 0.7331 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.6234, allocations: 0.5473 MB / 0.7336 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.6242, allocations: 0.5857 MB / 0.7342 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.6244, allocations: 41.44 kB / 0.7342 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.626, allocations: 0.7343 MB / 0.7349 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.6264, allocations: 312.8 kB / 0.7352 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.6267, allocations: 312.7 kB / 0.7355 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6286, allocations: 1.952 MB / 0.7374 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6286, allocations: 0 / 0.7374 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6286, allocations: 0 / 0.7374 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.6287, allocations: 4.844 kB / 0.7374 GB, free: 0.6055 MB / 0.545 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.002999/0.6317, allocations: 1.818 MB / 0.7392 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6317, allocations: 6.812 kB / 0.7392 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.6319, allocations: 205.5 kB / 0.7394 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.6336, allocations: 376.6 kB / 0.7398 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.6352, allocations: 1.153 MB / 0.7409 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.6352, allocations: 102.6 kB / 0.741 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.6354, allocations: 126.4 kB / 0.7411 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.6378, allocations: 1.521 MB / 0.7426 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.6379, allocations: 7.891 kB / 0.7426 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.638, allocations: 59.5 kB / 0.7427 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.638, allocations: 33.62 kB / 0.7427 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.6411, allocations: 2.052 MB / 0.7447 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.6474, allocations: 4.494 MB / 0.7491 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.65, allocations: 1.423 MB / 0.7505 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009531/0.651, allocations: 0.5437 MB / 0.751 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.6511, allocations: 61.17 kB / 0.7511 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.6525, allocations: 0.7963 MB / 0.7519 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 2.835e-06/0.6525, allocations: 0 / 0.7519 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005007/0.6575, allocations: 2.124 MB / 0.7539 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.6577, allocations: 359.2 kB / 0.7543 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.659, allocations: 1.064 MB / 0.7553 GB, free: 380 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.304e-05/0.6591, allocations: 49.7 kB / 0.7554 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.6595, allocations: 0.6187 MB / 0.756 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.6599, allocations: 449.4 kB / 0.7564 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.66, allocations: 24 kB / 0.7564 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6601, allocations: 353.9 kB / 0.7568 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/0.661, allocations: 438.4 kB / 0.7572 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.662, allocations: 0.6481 MB / 0.7578 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.663, allocations: 0.5246 MB / 0.7583 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.663, allocations: 3.938 kB / 0.7583 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003103/0.6661, allocations: 1.424 MB / 0.7597 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6662, allocations: 12.03 kB / 0.7597 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6662, allocations: 0 / 0.7597 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.6671, allocations: 165.5 kB / 0.7599 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6682, allocations: 287.5 kB / 0.7602 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.6717, allocations: 3.068 MB / 0.7632 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.6728, allocations: 168.1 kB / 0.7633 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.6729, allocations: 55.95 kB / 0.7634 GB, free: 7.746 MB / 0.5762 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 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006839/0.6736, allocations: 373.5 kB / 0.7637 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.6738, allocations: 154.1 kB / 0.7639 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.6782, allocations: 2.005 MB / 0.7658 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.6782, allocations: 16 kB / 0.7658 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6782, allocations: 0 / 0.7658 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.6782, allocations: 7.969 kB / 0.7658 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6798, allocations: 1.472 MB / 0.7673 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6799, allocations: 4 kB / 0.7673 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6809, allocations: 283.6 kB / 0.7676 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008664/0.6818, allocations: 169.5 kB / 0.7677 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.6819, allocations: 43.97 kB / 0.7678 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.6854, allocations: 3.103 MB / 0.7708 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6854, allocations: 12.05 kB / 0.7708 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.6887, allocations: 1.623 MB / 0.7724 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/0.6894, allocations: 458.4 kB / 0.7728 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.6896, allocations: 36 kB / 0.7729 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.6905, allocations: 136 kB / 0.773 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6908, allocations: 125.8 kB / 0.7731 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6909, allocations: 55.97 kB / 0.7732 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001006/0.6919, allocations: 0.7418 MB / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6919, allocations: 0 / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001213/0.6931, allocations: 470.9 kB / 0.7743 GB, free: 12.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004706/0.6978, allocations: 2.716 MB / 0.777 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.7005, allocations: 1.451 MB / 0.7784 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7006, allocations: 0 / 0.7784 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.7021, allocations: 0.9614 MB / 0.7793 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.704, allocations: 0.4917 MB / 0.7798 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.7218, allocations: 9.063 MB / 0.7887 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.7227, allocations: 1.285 MB / 0.7899 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00172/0.7244, allocations: 0.492 MB / 0.7904 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/0.7253, allocations: 0.6671 MB / 0.7911 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.7253, allocations: 0 / 0.7911 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.7837, allocations: 36.56 MB / 0.8268 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.7839, allocations: 264.2 kB / 0.827 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.519, allocations: 0 / 0.827 GB, free: 6.305 MB / 0.6387 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/linux/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) Environment - environmentSimulation: