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: translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008222, allocations: 100 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.0008229/0.0008229, 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.233/1.233, allocations: 223.2 MB / 239.9 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8368/0.8368, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 12 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 82.32 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005602/0.1593, allocations: 5.23 MB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3784/0.5377, allocations: 129.7 MB / 0.719 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.5385, allocations: 29.69 kB / 0.719 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.5389, allocations: 124.1 kB / 0.7191 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.5406, allocations: 0.6739 MB / 0.7198 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.5431, allocations: 0.9876 MB / 0.7207 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.545, allocations: 1.45 MB / 0.7222 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009653/0.546, allocations: 0.7418 MB / 0.7229 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.5467, allocations: 0.5575 MB / 0.7234 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.5474, allocations: 0.5367 MB / 0.7239 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.5475, allocations: 41.16 kB / 0.724 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.549, allocations: 0.6988 MB / 0.7247 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.5494, allocations: 308.1 kB / 0.725 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.5497, allocations: 323 kB / 0.7253 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.552, allocations: 1.958 MB / 0.7272 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.552, allocations: 0 / 0.7272 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5521, allocations: 0 / 0.7272 GB, free: 8.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.003e-05/0.5521, allocations: 0 / 0.7272 GB, free: 8.645 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.003286/0.5554, allocations: 1.816 MB / 0.729 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5555, allocations: 14.17 kB / 0.729 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.5572, allocations: 379.5 kB / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.559, allocations: 1.15 MB / 0.7305 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.5591, allocations: 105.7 kB / 0.7306 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.5592, allocations: 126.7 kB / 0.7307 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.5616, allocations: 1.506 MB / 0.7321 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.5616, allocations: 0 / 0.7321 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.5618, allocations: 64.56 kB / 0.7322 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.5618, allocations: 36.08 kB / 0.7322 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.5646, allocations: 2.056 MB / 0.7342 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.5707, allocations: 4.487 MB / 0.7386 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.5732, allocations: 1.435 MB / 0.74 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.5733, allocations: 57.17 kB / 0.7401 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/0.5747, allocations: 0.7922 MB / 0.7409 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 4.449e-06/0.5747, allocations: 4 kB / 0.7409 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005361/0.58, allocations: 2.129 MB / 0.7429 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.5802, allocations: 347.3 kB / 0.7433 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.5818, allocations: 1.064 MB / 0.7443 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.582, allocations: 53.7 kB / 0.7444 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/0.5825, allocations: 0.6263 MB / 0.745 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.5828, allocations: 445.5 kB / 0.7454 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.5829, allocations: 24 kB / 0.7454 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.583, allocations: 349.9 kB / 0.7458 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008953/0.5839, allocations: 442.3 kB / 0.7462 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.585, allocations: 0.6451 MB / 0.7468 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009988/0.586, allocations: 0.5207 MB / 0.7473 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.586, allocations: 96 / 0.7473 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003177/0.5892, allocations: 1.432 MB / 0.7487 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5892, allocations: 8 kB / 0.7487 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5892, allocations: 0.5 kB / 0.7487 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/0.5902, allocations: 177.8 kB / 0.7489 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5912, allocations: 271.6 kB / 0.7492 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.5946, allocations: 3.096 MB / 0.7522 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5957, allocations: 168 kB / 0.7523 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/0.5959, allocations: 55.97 kB / 0.7524 GB, free: 2.426 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.0006852/0.5965, allocations: 373.5 kB / 0.7527 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.5967, allocations: 150.1 kB / 0.7529 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.6009, allocations: 2.011 MB / 0.7549 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6009, allocations: 16 kB / 0.7549 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6009, allocations: 0 / 0.7549 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.601, allocations: 7.969 kB / 0.7549 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.6025, allocations: 1.476 MB / 0.7563 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6025, allocations: 4 kB / 0.7563 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6035, allocations: 279.6 kB / 0.7566 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.6044, allocations: 165.5 kB / 0.7567 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.6045, allocations: 47.97 kB / 0.7568 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.6077, allocations: 3.135 MB / 0.7599 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6077, allocations: 0 / 0.7599 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.6108, allocations: 1.649 MB / 0.7615 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/0.6114, allocations: 462.4 kB / 0.7619 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.6116, allocations: 35.88 kB / 0.7619 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009768/0.6126, allocations: 146.4 kB / 0.7621 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.6128, allocations: 114.3 kB / 0.7622 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.6129, allocations: 59.97 kB / 0.7622 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000905/0.6138, allocations: 0.7418 MB / 0.763 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6138, allocations: 0 / 0.763 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001106/0.6149, allocations: 463 kB / 0.7634 GB, free: 6.734 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.001248/0.6162, allocations: 0.6396 MB / 0.764 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00279/0.619, allocations: 1.443 MB / 0.7654 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.619, allocations: 0 / 0.7654 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.6206, allocations: 0.9614 MB / 0.7664 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.6223, allocations: 472.1 kB / 0.7668 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.6288, allocations: 3.706 MB / 0.7705 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.6296, allocations: 1.309 MB / 0.7717 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001571/0.6312, allocations: 0.4997 MB / 0.7722 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.6316, allocations: 183.3 kB / 0.7724 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.6316, allocations: 3.938 kB / 0.7724 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.03532/0.6669, allocations: 23.73 MB / 0.7956 GB, free: 6.16 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) Environment - environmentSimulation: