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.001495/0.001496, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001766/0.001766, allocations: 177.3 kB / 15.94 MB, free: 228 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.635/1.635, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8161/0.8161, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.000508, allocations: 16.8 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7096, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00777/0.7174, allocations: 5.245 MB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1968/0.9143, allocations: 129.7 MB / 0.7148 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.9162, allocations: 27.81 kB / 0.7148 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.917, allocations: 134.7 kB / 0.7149 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.9199, allocations: 0.6725 MB / 0.7156 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.9231, allocations: 0.9822 MB / 0.7165 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004601/0.9277, allocations: 1.453 MB / 0.7179 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.9298, allocations: 0.7386 MB / 0.7187 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.9313, allocations: 0.5562 MB / 0.7192 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.9322, allocations: 0.5363 MB / 0.7197 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.9324, allocations: 44 kB / 0.7198 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.9343, allocations: 0.7021 MB / 0.7205 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.9347, allocations: 310.7 kB / 0.7208 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.9351, allocations: 312.8 kB / 0.7211 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.9379, allocations: 1.952 MB / 0.723 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.9379, allocations: 7.938 kB / 0.723 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9379, allocations: 0 / 0.723 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.938, allocations: 0 / 0.723 GB, free: 0.9062 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.003772/0.9417, allocations: 1.813 MB / 0.7247 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.9418, allocations: 8.031 kB / 0.7247 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003703/0.9422, allocations: 206.5 kB / 0.7249 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.945, allocations: 381.3 kB / 0.7253 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.9472, allocations: 1.147 MB / 0.7264 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.9473, allocations: 110.7 kB / 0.7265 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9475, allocations: 132 kB / 0.7267 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.9503, allocations: 1.508 MB / 0.7281 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.9503, allocations: 7.891 kB / 0.7281 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.9504, allocations: 56 kB / 0.7282 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.9505, allocations: 32 kB / 0.7282 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.9538, allocations: 2.051 MB / 0.7302 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007839/0.9617, allocations: 4.497 MB / 0.7346 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.9646, allocations: 1.439 MB / 0.736 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.9648, allocations: 61.17 kB / 0.7361 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.9663, allocations: 0.7962 MB / 0.7369 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.847e-06/0.9663, allocations: 0 / 0.7369 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005731/0.9721, allocations: 2.121 MB / 0.7389 GB, free: 176 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/0.9723, allocations: 359.2 kB / 0.7393 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.9753, allocations: 1.064 MB / 0.7403 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.9756, allocations: 53.7 kB / 0.7404 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.9763, allocations: 0.6185 MB / 0.741 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/0.9769, allocations: 449.5 kB / 0.7414 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.9769, allocations: 20 kB / 0.7414 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.9772, allocations: 353.9 kB / 0.7418 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.9788, allocations: 442.3 kB / 0.7422 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.9801, allocations: 0.6373 MB / 0.7428 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.9812, allocations: 0.5245 MB / 0.7433 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9812, allocations: 0 / 0.7433 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00396/0.9852, allocations: 1.428 MB / 0.7447 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.9852, allocations: 4 kB / 0.7447 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9852, allocations: 7.984 kB / 0.7447 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.9865, allocations: 165.8 kB / 0.7449 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.9877, allocations: 275.6 kB / 0.7451 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.9917, allocations: 3.097 MB / 0.7482 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.9935, allocations: 164.4 kB / 0.7483 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.9937, allocations: 55.95 kB / 0.7484 GB, free: 6.035 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.001046/0.9947, allocations: 377.5 kB / 0.7487 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.9951, allocations: 154.1 kB / 0.7489 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/1, allocations: 1.999 MB / 0.7508 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.001, allocations: 16 kB / 0.7508 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.001, allocations: 0 / 0.7508 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-05/1.001, allocations: 11.97 kB / 0.7509 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/1.004, allocations: 1.479 MB / 0.7523 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.004, allocations: 4 kB / 0.7523 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.005, allocations: 283.6 kB / 0.7526 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009936/1.006, allocations: 173.5 kB / 0.7527 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/1.006, allocations: 39.97 kB / 0.7528 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/1.01, allocations: 3.143 MB / 0.7558 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.01, allocations: 4.031 kB / 0.7558 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/1.014, allocations: 1.642 MB / 0.7575 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.016, allocations: 466.4 kB / 0.7579 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.016, allocations: 39.94 kB / 0.7579 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.017, allocations: 135.9 kB / 0.7581 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.017, allocations: 117.8 kB / 0.7582 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.018, allocations: 59.97 kB / 0.7582 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001321/1.019, allocations: 0.7301 MB / 0.7589 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.5e-07/1.019, allocations: 4 kB / 0.759 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00173/1.021, allocations: 458.9 kB / 0.7594 GB, free: 10.34 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.005269/1.026, allocations: 2.798 MB / 0.7621 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003416/1.029, allocations: 1.451 MB / 0.7635 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.029, allocations: 0 / 0.7635 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.031, allocations: 0.9536 MB / 0.7645 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.034, allocations: 466.1 kB / 0.7649 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/1.066, allocations: 10.48 MB / 0.7751 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.068, allocations: 1.317 MB / 0.7764 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003014/1.071, allocations: 0.4957 MB / 0.7769 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.072, allocations: 0.6711 MB / 0.7776 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of SimCode: time 1.743e-06/1.072, allocations: 3.938 kB / 0.7776 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.18, allocations: 36.51 MB / 0.8132 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.18, allocations: 256 kB / 0.8135 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/5.195, allocations: 4.062 kB / 0.8135 GB, free: 3.105 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/linux/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) Environment - environmentSimulation: