Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_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.0009545/0.0009546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009365/0.0009365, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.666/0.666, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 60.08 kB / 0.5012 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3173, allocations: 80.21 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006465/0.3238, allocations: 6.187 MB / 0.5855 GB, free: 96 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1462/0.47, allocations: 150.9 MB / 0.7329 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/0.4709, allocations: 31.81 kB / 0.7329 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.4716, allocations: 246.1 kB / 0.7331 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.4732, allocations: 0.5509 MB / 0.7337 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.4755, allocations: 1.147 MB / 0.7348 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.4771, allocations: 2.157 MB / 0.7369 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.4782, allocations: 1.048 MB / 0.7379 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.4789, allocations: 0.6652 MB / 0.7386 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.4795, allocations: 0.7464 MB / 0.7393 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.4797, allocations: 84 kB / 0.7394 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4808, allocations: 0.8153 MB / 0.7402 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.4812, allocations: 394.3 kB / 0.7406 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.4818, allocations: 0.8038 MB / 0.7414 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.4838, allocations: 2.543 MB / 0.7438 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4838, allocations: 4 kB / 0.7438 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4838, allocations: 0 / 0.7438 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4838, allocations: 0 / 0.7438 GB, free: 8.844 MB / 0.5762 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.003162/0.487, allocations: 2.166 MB / 0.746 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.487, allocations: 8.031 kB / 0.746 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/0.4872, allocations: 206.7 kB / 0.7462 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.489, allocations: 366 kB / 0.7465 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.4905, allocations: 1.188 MB / 0.7477 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.4906, allocations: 102.7 kB / 0.7478 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.4907, allocations: 132 kB / 0.7479 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.4931, allocations: 1.528 MB / 0.7494 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4931, allocations: 4 kB / 0.7494 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.4932, allocations: 52 kB / 0.7494 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.4933, allocations: 36 kB / 0.7495 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003019/0.4963, allocations: 2.047 MB / 0.7515 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.5022, allocations: 4.444 MB / 0.7558 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.5048, allocations: 1.427 MB / 0.7572 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.5057, allocations: 0.5321 MB / 0.7577 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.5058, allocations: 61.19 kB / 0.7578 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.5072, allocations: 0.7929 MB / 0.7586 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 2.404e-06/0.5072, allocations: 0 / 0.7586 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.005232/0.5125, allocations: 2.111 MB / 0.7606 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5126, allocations: 355.3 kB / 0.761 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.5138, allocations: 1.068 MB / 0.762 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.373e-05/0.5139, allocations: 57.64 kB / 0.7621 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.5143, allocations: 0.6147 MB / 0.7627 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.5146, allocations: 449.4 kB / 0.7631 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.515, allocations: 250.8 kB / 0.7633 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5151, allocations: 357.9 kB / 0.7637 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.516, allocations: 434.4 kB / 0.7641 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.517, allocations: 0.6406 MB / 0.7647 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5189, allocations: 1.071 MB / 0.7657 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5189, allocations: 0 / 0.7657 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003199/0.5221, allocations: 1.428 MB / 0.7671 GB, free: 352 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5222, allocations: 4 kB / 0.7671 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5222, allocations: 4 kB / 0.7672 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.5232, allocations: 169.7 kB / 0.7673 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5243, allocations: 263.6 kB / 0.7676 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.5278, allocations: 3.078 MB / 0.7706 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.5287, allocations: 156.7 kB / 0.7707 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.5288, allocations: 51.97 kB / 0.7708 GB, free: 12.35 MB / 0.6075 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.0004923/0.5293, allocations: 378.2 kB / 0.7711 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.5295, allocations: 146.2 kB / 0.7713 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.5338, allocations: 1.976 MB / 0.7732 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.5339, allocations: 16 kB / 0.7732 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5339, allocations: 0 / 0.7732 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.5339, allocations: 11.91 kB / 0.7732 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.5354, allocations: 1.48 MB / 0.7747 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5354, allocations: 0 / 0.7747 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5365, allocations: 279.6 kB / 0.7749 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009473/0.5374, allocations: 165.5 kB / 0.7751 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.5375, allocations: 47.91 kB / 0.7751 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.5408, allocations: 3.119 MB / 0.7782 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5408, allocations: 0 / 0.7782 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.5441, allocations: 1.623 MB / 0.7798 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.5446, allocations: 426.7 kB / 0.7802 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.5448, allocations: 43.83 kB / 0.7802 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.5457, allocations: 99.89 kB / 0.7803 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5459, allocations: 121.8 kB / 0.7804 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.546, allocations: 64.08 kB / 0.7805 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000842/0.5469, allocations: 0.7457 MB / 0.7812 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5469, allocations: 0 / 0.7812 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000943/0.5478, allocations: 459 kB / 0.7817 GB, free: 0.793 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.004624/0.5525, allocations: 2.712 MB / 0.7843 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002548/0.555, allocations: 1.44 MB / 0.7857 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.555, allocations: 0 / 0.7857 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.5566, allocations: 0.9537 MB / 0.7866 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5583, allocations: 0.5068 MB / 0.7871 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/0.5783, allocations: 11.75 MB / 0.7986 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.579, allocations: 1.282 MB / 0.7999 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001385/0.5804, allocations: 0.4958 MB / 0.8003 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.5813, allocations: 0.6554 MB / 0.801 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of SimCode: time 3.7e-07/0.5813, allocations: 3.938 kB / 0.801 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.774/3.356, allocations: 34.69 MB / 0.8349 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/3.356, allocations: 276.4 kB / 0.8351 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/6.842, allocations: 0 / 0.8351 GB, free: 208.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)