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.001324/0.001324, allocations: 99.7 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.001464/0.001464, allocations: 177.3 kB / 15.95 MB, free: 216 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.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.000336, allocations: 11.98 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1928, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005759/0.1986, allocations: 5.226 MB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4378/0.6364, allocations: 129.7 MB / 0.7191 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.6376, allocations: 30.34 kB / 0.7191 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.6381, allocations: 124.7 kB / 0.7192 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.6404, allocations: 0.6754 MB / 0.7199 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.6432, allocations: 0.9817 MB / 0.7208 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.6457, allocations: 1.451 MB / 0.7222 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.6469, allocations: 0.743 MB / 0.723 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.6479, allocations: 0.5604 MB / 0.7235 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.6486, allocations: 0.5329 MB / 0.724 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.6487, allocations: 46.14 kB / 0.7241 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.6502, allocations: 0.7018 MB / 0.7248 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.6506, allocations: 309.6 kB / 0.7251 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.6509, allocations: 311.3 kB / 0.7254 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.6533, allocations: 1.957 MB / 0.7273 GB, free: 8.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.6533, allocations: 0 / 0.7273 GB, free: 8.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6533, allocations: 0 / 0.7273 GB, free: 8.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.512e-05/0.6533, allocations: 3.938 kB / 0.7273 GB, free: 8.559 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.0034/0.6567, allocations: 1.814 MB / 0.729 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6568, allocations: 13.62 kB / 0.7291 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002647/0.657, allocations: 202.1 kB / 0.7293 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.6589, allocations: 387.7 kB / 0.7296 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6608, allocations: 1.144 MB / 0.7307 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.6609, allocations: 99.56 kB / 0.7308 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.6611, allocations: 131.8 kB / 0.731 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.6636, allocations: 1.511 MB / 0.7324 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.6636, allocations: 0 / 0.7324 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.6637, allocations: 59.53 kB / 0.7325 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.6638, allocations: 39.06 kB / 0.7325 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.6668, allocations: 2.046 MB / 0.7345 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00681/0.6736, allocations: 4.501 MB / 0.7389 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.6763, allocations: 1.439 MB / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.6764, allocations: 57.19 kB / 0.7404 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.6778, allocations: 0.8001 MB / 0.7412 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 2.845e-06/0.6778, allocations: 0 / 0.7412 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005415/0.6832, allocations: 2.117 MB / 0.7432 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.6834, allocations: 359.2 kB / 0.7436 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.6848, allocations: 1.064 MB / 0.7446 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.6849, allocations: 49.7 kB / 0.7447 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.6854, allocations: 0.6224 MB / 0.7453 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.6857, allocations: 449.5 kB / 0.7457 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.6858, allocations: 20 kB / 0.7457 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.686, allocations: 353.9 kB / 0.7461 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.6869, allocations: 438.4 kB / 0.7465 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.688, allocations: 0.6439 MB / 0.7471 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.689, allocations: 0.5207 MB / 0.7476 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6891, allocations: 4 kB / 0.7476 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003532/0.6926, allocations: 1.424 MB / 0.749 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6926, allocations: 8 kB / 0.749 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6927, allocations: 4.375 kB / 0.749 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.6937, allocations: 173.5 kB / 0.7492 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6949, allocations: 275.6 kB / 0.7494 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.6986, allocations: 3.09 MB / 0.7525 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7, allocations: 169.1 kB / 0.7526 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.7001, allocations: 59.95 kB / 0.7527 GB, free: 2.059 MB / 0.5606 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.0009173/0.701, allocations: 373.5 kB / 0.753 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.7013, allocations: 154.1 kB / 0.7532 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.706, allocations: 2.005 MB / 0.7551 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.706, allocations: 16 kB / 0.7552 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.706, allocations: 4 kB / 0.7552 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.706, allocations: 7.969 kB / 0.7552 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.7081, allocations: 1.479 MB / 0.7566 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7081, allocations: 0 / 0.7566 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7092, allocations: 279.7 kB / 0.7569 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009872/0.7102, allocations: 173.5 kB / 0.757 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.7103, allocations: 43.97 kB / 0.7571 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.7137, allocations: 3.143 MB / 0.7602 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7137, allocations: 3.938 kB / 0.7602 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/0.7173, allocations: 1.642 MB / 0.7618 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.718, allocations: 462.4 kB / 0.7622 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.7183, allocations: 32 kB / 0.7622 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.7194, allocations: 139.8 kB / 0.7624 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.7196, allocations: 117.8 kB / 0.7625 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7198, allocations: 59.97 kB / 0.7625 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00107/0.7208, allocations: 0.734 MB / 0.7633 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7208, allocations: 4 kB / 0.7633 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001323/0.7222, allocations: 462.9 kB / 0.7637 GB, free: 6.363 MB / 0.5762 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.005022/0.7272, allocations: 2.802 MB / 0.7664 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.7301, allocations: 1.451 MB / 0.7678 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7301, allocations: 0 / 0.7678 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.7317, allocations: 0.9536 MB / 0.7688 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.7337, allocations: 477 kB / 0.7692 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.7537, allocations: 10.47 MB / 0.7795 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/0.7548, allocations: 1.316 MB / 0.7807 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001868/0.7566, allocations: 0.4919 MB / 0.7812 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/0.7576, allocations: 0.6749 MB / 0.7819 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.7576, allocations: 0 / 0.7819 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.8177, allocations: 36.53 MB / 0.8176 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.818, allocations: 251.1 kB / 0.8178 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.74, allocations: 4.062 kB / 0.8178 GB, free: 15.07 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: