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.00147/0.001471, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 194.5 kB / 16.67 MB, free: 6.582 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.315/1.315, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3534, allocations: 81.03 MB / 0.6648 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005867/0.3593, allocations: 6.215 MB / 0.6709 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.5352, allocations: 153.2 MB / 0.8205 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.5364, allocations: 31.81 kB / 0.8206 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.5372, allocations: 317.1 kB / 0.8209 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.5391, allocations: 0.6564 MB / 0.8215 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.542, allocations: 1.295 MB / 0.8228 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.5445, allocations: 2.332 MB / 0.8251 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.5459, allocations: 1.06 MB / 0.8261 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009669/0.5469, allocations: 0.7746 MB / 0.8268 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.5478, allocations: 0.7932 MB / 0.8276 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.5481, allocations: 188 kB / 0.8278 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.5497, allocations: 0.9364 MB / 0.8287 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.5502, allocations: 0.4906 MB / 0.8292 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.551, allocations: 0.8976 MB / 0.8301 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.554, allocations: 2.729 MB / 0.8327 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.554, allocations: 0 / 0.8327 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.306e-06/0.554, allocations: 0 / 0.8327 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.5541, allocations: 3.938 kB / 0.8327 GB, free: 4.312 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.003484/0.5575, allocations: 2.225 MB / 0.8349 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5576, allocations: 12.03 kB / 0.8349 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.5578, allocations: 198.8 kB / 0.8351 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5597, allocations: 375.1 kB / 0.8355 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.5616, allocations: 1.256 MB / 0.8367 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.5617, allocations: 102.7 kB / 0.8368 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.5619, allocations: 132 kB / 0.8369 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.5645, allocations: 1.52 MB / 0.8384 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5646, allocations: 3.938 kB / 0.8384 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.5647, allocations: 63.94 kB / 0.8385 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.5647, allocations: 32 kB / 0.8385 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.5682, allocations: 2.047 MB / 0.8405 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006812/0.575, allocations: 4.395 MB / 0.8448 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.5779, allocations: 1.431 MB / 0.8462 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.579, allocations: 0.5321 MB / 0.8467 GB, free: 5.676 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5791, allocations: 61.17 kB / 0.8468 GB, free: 5.613 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/0.5807, allocations: 0.7959 MB / 0.8475 GB, free: 4.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 2.926e-06/0.5807, allocations: 0 / 0.8475 GB, free: 4.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.005883/0.5866, allocations: 2.109 MB / 0.8496 GB, free: 2.637 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.5868, allocations: 359.2 kB / 0.8499 GB, free: 2.207 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.5883, allocations: 1.072 MB / 0.851 GB, free: 1.125 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5884, allocations: 53.69 kB / 0.851 GB, free: 1.066 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/0.589, allocations: 0.6235 MB / 0.8517 GB, free: 448 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.5894, allocations: 472.2 kB / 0.8521 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/0.5898, allocations: 254.8 kB / 0.8523 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.59, allocations: 357.7 kB / 0.8527 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009814/0.591, allocations: 434.4 kB / 0.8531 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.5922, allocations: 0.6445 MB / 0.8537 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.5944, allocations: 1.071 MB / 0.8548 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5944, allocations: 0 / 0.8548 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003625/0.5981, allocations: 1.428 MB / 0.8562 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5981, allocations: 8 kB / 0.8562 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5981, allocations: 0 / 0.8562 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.5992, allocations: 169.8 kB / 0.8563 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6003, allocations: 267.6 kB / 0.8566 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.6044, allocations: 3.284 MB / 0.8598 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6055, allocations: 158.2 kB / 0.86 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6056, allocations: 56.14 kB / 0.86 GB, free: 7.461 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.0006444/0.6062, allocations: 383 kB / 0.8604 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.6065, allocations: 163 kB / 0.8605 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/0.6112, allocations: 1.968 MB / 0.8625 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6112, allocations: 16 kB / 0.8625 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6113, allocations: 8 kB / 0.8625 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.6113, allocations: 7.969 kB / 0.8625 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.6131, allocations: 1.487 MB / 0.8639 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6131, allocations: 0 / 0.8639 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6142, allocations: 279.6 kB / 0.8642 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008504/0.615, allocations: 145.6 kB / 0.8643 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.6151, allocations: 47.97 kB / 0.8644 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2773/0.8925, allocations: 3.327 MB / 0.8676 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8925, allocations: 3.562 kB / 0.8676 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.8963, allocations: 1.633 MB / 0.8692 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.8969, allocations: 437.4 kB / 0.8696 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.8971, allocations: 33.7 kB / 0.8697 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/0.8981, allocations: 112.7 kB / 0.8698 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.8984, allocations: 124.1 kB / 0.8699 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.8985, allocations: 60.94 kB / 0.87 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001028/0.8995, allocations: 0.75 MB / 0.8707 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8995, allocations: 0 / 0.8707 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001178/0.9007, allocations: 467 kB / 0.8711 GB, free: 188.4 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.005506/0.9062, allocations: 2.714 MB / 0.8738 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.9093, allocations: 1.453 MB / 0.8752 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.9093, allocations: 1.656 kB / 0.8752 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.9111, allocations: 0.957 MB / 0.8761 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.9133, allocations: 0.5599 MB / 0.8767 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.9308, allocations: 10.45 MB / 0.8869 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.9316, allocations: 1.287 MB / 0.8882 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001491/0.9331, allocations: 0.4926 MB / 0.8886 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/0.9338, allocations: 0.6653 MB / 0.8893 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.9338, allocations: 0 / 0.8893 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06845/1.002, allocations: 36.27 MB / 0.9247 GB, free: 150.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.43, allocations: 15.34 kB / 0.9247 GB, free: 150.3 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)