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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001713, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009357, allocations: 102.2 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.799e-05, allocations: 0 / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5391, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/5.136, allocations: 1.693 GB / 2.327 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/5.136, allocations: 80.47 kB / 2.327 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5856/5.722, allocations: 90.43 MB / 2.415 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/5.722, allocations: 2 kB / 2.415 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001336/5.722, allocations: 41.94 kB / 2.415 GB, free: 218.7 MB / 0.6823 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.003239/5.726, allocations: 1.664 MB / 2.417 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/5.726, allocations: 9.25 kB / 2.417 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/5.728, allocations: 372.7 kB / 2.417 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/5.73, allocations: 1.02 MB / 2.418 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/5.73, allocations: 44.53 kB / 2.418 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/5.73, allocations: 78.62 kB / 2.418 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003167/5.733, allocations: 1.867 MB / 2.42 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/5.735, allocations: 1.279 MB / 2.421 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/5.735, allocations: 0 / 2.421 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/5.736, allocations: 3.812 kB / 2.421 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/5.736, allocations: 37.56 kB / 2.421 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00697/5.743, allocations: 4.253 MB / 2.426 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/5.744, allocations: 1.266 MB / 2.427 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/5.745, allocations: 474.8 kB / 2.427 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/5.745, allocations: 66.73 kB / 2.427 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/5.746, allocations: 0.7083 MB / 2.428 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 3.266e-06/5.746, allocations: 0 / 2.428 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.002902/5.749, allocations: 1.241 MB / 2.429 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/5.749, allocations: 459.7 kB / 2.43 GB, free: 215 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/5.751, allocations: 0.9029 MB / 2.43 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002253/5.751, allocations: 29.45 kB / 2.431 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/5.752, allocations: 0.6246 MB / 2.431 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/5.752, allocations: 428.9 kB / 2.432 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/5.752, allocations: 0 / 2.432 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000148/5.752, allocations: 357.6 kB / 2.432 GB, free: 214 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/5.753, allocations: 369.6 kB / 2.432 GB, free: 214 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/5.754, allocations: 0.5802 MB / 2.433 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/5.754, allocations: 475.1 kB / 2.433 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/5.754, allocations: 0 / 2.433 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003047/5.758, allocations: 1.258 MB / 2.434 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/5.758, allocations: 7.891 kB / 2.434 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/5.758, allocations: 3.781 kB / 2.434 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/5.759, allocations: 163.5 kB / 2.435 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/5.76, allocations: 276 kB / 2.435 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/5.763, allocations: 2.935 MB / 2.438 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/5.764, allocations: 125.2 kB / 2.438 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/5.765, allocations: 55.44 kB / 2.438 GB, free: 211.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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.0003376/5.765, allocations: 131.5 kB / 2.438 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002783/5.768, allocations: 1.248 MB / 2.439 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/5.768, allocations: 137.3 kB / 2.439 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/5.772, allocations: 1.814 MB / 2.441 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/5.772, allocations: 14.53 kB / 2.441 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/5.772, allocations: 3.438 kB / 2.441 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/5.772, allocations: 6.609 kB / 2.441 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/5.773, allocations: 1.329 MB / 2.443 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.773, allocations: 0 / 2.443 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/5.774, allocations: 280.9 kB / 2.443 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008947/5.775, allocations: 162.9 kB / 2.443 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/5.775, allocations: 32.69 kB / 2.443 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/5.778, allocations: 2.978 MB / 2.446 GB, free: 208 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/5.778, allocations: 0 / 2.446 GB, free: 208 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/5.781, allocations: 1.473 MB / 2.447 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/5.782, allocations: 473.9 kB / 2.448 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/5.782, allocations: 10.64 kB / 2.448 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/5.783, allocations: 102.7 kB / 2.448 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/5.783, allocations: 116.2 kB / 2.448 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/5.783, allocations: 59.11 kB / 2.448 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008344/5.784, allocations: 0.7075 MB / 2.449 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.784, allocations: 0 / 2.449 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001432/5.785, allocations: 0.4956 MB / 2.449 GB, free: 207.3 MB / 0.6823 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) * 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.004564/5.79, allocations: 3.148 MB / 2.452 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002111/5.792, allocations: 1.276 MB / 2.454 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/5.792, allocations: 3.594 kB / 2.454 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/5.793, allocations: 0.8541 MB / 2.454 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/5.796, allocations: 442.4 kB / 2.455 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/5.803, allocations: 2.738 MB / 2.457 GB, free: 204 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/5.804, allocations: 1.321 MB / 2.459 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001702/5.806, allocations: 0.4884 MB / 2.459 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008271/5.807, allocations: 0.6532 MB / 2.46 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/5.807, allocations: 0 / 2.46 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09922/5.906, allocations: 39.34 MB / 2.498 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/5.906, allocations: 178 kB / 2.498 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/9.17, allocations: 0 / 2.498 GB, free: 178.1 MB / 0.6823 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)