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.0045/0.0045, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.001244/0.001244, allocations: 203.6 kB / 16.68 MB, free: 5.445 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8567/0.8567, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 67.55 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 81.03 MB / 0.6648 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008282/0.1456, allocations: 6.224 MB / 0.6709 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.456/0.6017, allocations: 153.2 MB / 0.8206 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009437/0.6026, allocations: 35.28 kB / 0.8206 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007398/0.6034, allocations: 305 kB / 0.8209 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.6053, allocations: 0.6532 MB / 0.8215 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.608, allocations: 1.294 MB / 0.8228 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002507/0.6105, allocations: 2.321 MB / 0.825 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.6119, allocations: 1.077 MB / 0.8261 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.613, allocations: 0.7697 MB / 0.8269 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.6139, allocations: 0.7856 MB / 0.8276 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.6142, allocations: 190 kB / 0.8278 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.6157, allocations: 0.9407 MB / 0.8287 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.6162, allocations: 0.4885 MB / 0.8292 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008335/0.6171, allocations: 0.8999 MB / 0.8301 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.6203, allocations: 2.73 MB / 0.8327 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6203, allocations: 0 / 0.8327 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6203, allocations: 2.75 kB / 0.8327 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.151e-05/0.6203, allocations: 1.688 kB / 0.8327 GB, free: 13.32 MB / 0.6075 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.003829/0.6242, allocations: 2.233 MB / 0.8349 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6242, allocations: 8.641 kB / 0.8349 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002604/0.6245, allocations: 202.5 kB / 0.8351 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6264, allocations: 373.5 kB / 0.8355 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.6284, allocations: 1.254 MB / 0.8367 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.6285, allocations: 102.3 kB / 0.8368 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6287, allocations: 128.9 kB / 0.8369 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.6314, allocations: 1.518 MB / 0.8384 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.6314, allocations: 0 / 0.8384 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.6316, allocations: 58.5 kB / 0.8385 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.6316, allocations: 33.31 kB / 0.8385 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.6349, allocations: 2.046 MB / 0.8405 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007286/0.6422, allocations: 4.402 MB / 0.8448 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.6451, allocations: 1.426 MB / 0.8462 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.6461, allocations: 0.5355 MB / 0.8467 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.6463, allocations: 62.58 kB / 0.8468 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.6478, allocations: 0.7927 MB / 0.8475 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=136): time 3.096e-06/0.6478, allocations: 0 / 0.8475 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.006287/0.6541, allocations: 2.113 MB / 0.8496 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/0.6544, allocations: 355.3 kB / 0.8499 GB, free: 488 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.6559, allocations: 1.076 MB / 0.851 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.656, allocations: 49.7 kB / 0.851 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/0.6566, allocations: 0.6274 MB / 0.8517 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.6571, allocations: 467.9 kB / 0.8521 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.6575, allocations: 258.8 kB / 0.8523 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6577, allocations: 353.9 kB / 0.8527 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.6587, allocations: 438.3 kB / 0.8531 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.66, allocations: 0.6407 MB / 0.8537 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.6623, allocations: 1.067 MB / 0.8548 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.6623, allocations: 12 kB / 0.8548 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003837/0.6662, allocations: 1.428 MB / 0.8562 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6662, allocations: 4 kB / 0.8562 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6662, allocations: 4 kB / 0.8562 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.6674, allocations: 169.8 kB / 0.8563 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6685, allocations: 267.6 kB / 0.8566 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/0.6729, allocations: 3.292 MB / 0.8598 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6741, allocations: 151.2 kB / 0.86 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.6742, allocations: 51.97 kB / 0.86 GB, free: 5.723 MB / 0.6231 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.0007073/0.6749, allocations: 394.6 kB / 0.8604 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.6752, allocations: 155 kB / 0.8605 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.6802, allocations: 1.97 MB / 0.8625 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6802, allocations: 16 kB / 0.8625 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6802, allocations: 0 / 0.8625 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.6802, allocations: 7.969 kB / 0.8625 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.6821, allocations: 1.487 MB / 0.8639 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6822, allocations: 4.594 kB / 0.8639 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.6833, allocations: 271.7 kB / 0.8642 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009068/0.6842, allocations: 157.5 kB / 0.8643 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/0.6843, allocations: 43.95 kB / 0.8644 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/0.6884, allocations: 3.34 MB / 0.8676 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6885, allocations: 0 / 0.8676 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.6924, allocations: 1.627 MB / 0.8692 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/0.6931, allocations: 447 kB / 0.8697 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6933, allocations: 35.98 kB / 0.8697 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.6943, allocations: 110.8 kB / 0.8698 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.6946, allocations: 117.8 kB / 0.8699 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.6947, allocations: 59.97 kB / 0.87 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001092/0.6958, allocations: 0.7535 MB / 0.8707 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6958, allocations: 0 / 0.8707 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001173/0.697, allocations: 462.9 kB / 0.8712 GB, free: 9.898 MB / 0.6387 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.006032/0.703, allocations: 2.727 MB / 0.8738 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.7062, allocations: 1.436 MB / 0.8752 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.7062, allocations: 7.938 kB / 0.8752 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.7081, allocations: 0.9575 MB / 0.8762 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7103, allocations: 0.5652 MB / 0.8767 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.731, allocations: 10.44 MB / 0.8869 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/0.732, allocations: 1.285 MB / 0.8882 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001564/0.7336, allocations: 0.4998 MB / 0.8887 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/0.7346, allocations: 0.6554 MB / 0.8893 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.7346, allocations: 0 / 0.8893 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07935/0.8139, allocations: 36.26 MB / 0.9247 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.77, allocations: 18.19 kB / 0.9247 GB, free: 3.273 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)