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.001799/0.001799, allocations: 108 kB / 15.6 MB, free: 132 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.002204/0.002204, allocations: 197 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.593/2.593, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.588/1.588, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 60.5 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.0134/0.2723, allocations: 6.208 MB / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6923/0.9646, allocations: 153.2 MB / 0.7402 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.9663, allocations: 34.5 kB / 0.7402 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.9679, allocations: 308 kB / 0.7405 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.9718, allocations: 0.6471 MB / 0.7411 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005919/0.9777, allocations: 1.295 MB / 0.7424 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.982, allocations: 2.305 MB / 0.7446 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.9847, allocations: 1.068 MB / 0.7457 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.9865, allocations: 0.7688 MB / 0.7464 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.9884, allocations: 0.7919 MB / 0.7472 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005871/0.9891, allocations: 185.8 kB / 0.7474 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.9922, allocations: 0.9183 MB / 0.7483 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008591/0.9931, allocations: 495.2 kB / 0.7488 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.9949, allocations: 0.8966 MB / 0.7496 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.9999, allocations: 2.649 MB / 0.7522 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1, allocations: 0 / 0.7522 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/1, allocations: 0 / 0.7522 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.599e-05/1, allocations: 4 kB / 0.7522 GB, free: 0.8008 MB / 0.5606 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.007273/1.007, allocations: 2.161 MB / 0.7543 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.007, allocations: 12.03 kB / 0.7543 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005068/1.008, allocations: 206.7 kB / 0.7545 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/1.012, allocations: 354.4 kB / 0.7549 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/1.015, allocations: 1.196 MB / 0.756 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.015, allocations: 102.7 kB / 0.7561 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/1.016, allocations: 128 kB / 0.7563 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005106/1.021, allocations: 1.529 MB / 0.7578 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/1.021, allocations: 4 kB / 0.7578 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/1.021, allocations: 60 kB / 0.7578 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/1.021, allocations: 35.98 kB / 0.7579 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006364/1.028, allocations: 2.043 MB / 0.7599 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/1.041, allocations: 4.438 MB / 0.7642 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005393/1.046, allocations: 1.428 MB / 0.7656 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/1.048, allocations: 0.5282 MB / 0.7661 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/1.048, allocations: 61.11 kB / 0.7662 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/1.051, allocations: 0.7891 MB / 0.7669 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 6.171e-06/1.051, allocations: 4 kB / 0.7669 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01105/1.062, allocations: 2.108 MB / 0.769 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/1.062, allocations: 351.3 kB / 0.7693 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.065, allocations: 1.079 MB / 0.7704 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.065, allocations: 53.7 kB / 0.7704 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009315/1.066, allocations: 0.6225 MB / 0.771 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007779/1.067, allocations: 453.2 kB / 0.7715 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007401/1.068, allocations: 250.7 kB / 0.7717 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002236/1.068, allocations: 357.9 kB / 0.772 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.069, allocations: 434.4 kB / 0.7725 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.072, allocations: 0.6406 MB / 0.7731 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/1.076, allocations: 1.071 MB / 0.7741 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.076, allocations: 0.875 kB / 0.7741 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006801/1.083, allocations: 1.42 MB / 0.7755 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.083, allocations: 11.94 kB / 0.7755 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.083, allocations: 0 / 0.7755 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/1.085, allocations: 169.6 kB / 0.7757 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/1.087, allocations: 271.6 kB / 0.776 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/1.094, allocations: 3.285 MB / 0.7792 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.096, allocations: 151.7 kB / 0.7793 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.096, allocations: 59.95 kB / 0.7794 GB, free: 4.145 MB / 0.5919 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.001161/1.098, allocations: 376.7 kB / 0.7797 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/1.098, allocations: 150.1 kB / 0.7799 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/1.107, allocations: 1.985 MB / 0.7818 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.107, allocations: 16 kB / 0.7818 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.107, allocations: 0 / 0.7818 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.107, allocations: 11.97 kB / 0.7818 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/1.111, allocations: 1.464 MB / 0.7833 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.111, allocations: 8 kB / 0.7833 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.113, allocations: 275.6 kB / 0.7835 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.115, allocations: 157.4 kB / 0.7837 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.115, allocations: 47.97 kB / 0.7837 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006715/1.122, allocations: 3.332 MB / 0.787 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.122, allocations: 7.938 kB / 0.787 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/1.128, allocations: 1.619 MB / 0.7886 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.129, allocations: 430.8 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.129, allocations: 43.91 kB / 0.789 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.131, allocations: 111.8 kB / 0.7891 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.131, allocations: 121.8 kB / 0.7892 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.131, allocations: 63.97 kB / 0.7893 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001758/1.133, allocations: 0.7418 MB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.51e-07/1.133, allocations: 0 / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002016/1.135, allocations: 463 kB / 0.7905 GB, free: 8.352 MB / 0.6075 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.009673/1.145, allocations: 2.713 MB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008016/1.153, allocations: 1.799 MB / 0.7949 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.153, allocations: 4 kB / 0.7949 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.156, allocations: 0.9536 MB / 0.7958 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.16, allocations: 0.5563 MB / 0.7964 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/1.196, allocations: 11.12 MB / 0.8072 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.197, allocations: 1.289 MB / 0.8085 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003259/1.2, allocations: 499.7 kB / 0.809 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.202, allocations: 0.6671 MB / 0.8096 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/1.202, allocations: 0 / 0.8096 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/1.458, allocations: 35.92 MB / 0.8447 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.87/28.33, allocations: 0 / 0.8447 GB, free: 0.9883 MB / 0.6544 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)