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.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 196 kB / 16.25 MB, free: 6.625 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.185/1.185, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6679/0.6679, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 59 kB / 0.5013 GB, free: 9.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1145, allocations: 80.22 MB / 0.5797 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006478/0.121, allocations: 6.188 MB / 0.5857 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3041/0.4251, allocations: 150.9 MB / 0.7331 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.4258, allocations: 37.34 kB / 0.7332 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.4265, allocations: 248.5 kB / 0.7334 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.4278, allocations: 0.5607 MB / 0.7339 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.4299, allocations: 1.172 MB / 0.7351 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.4315, allocations: 2.319 MB / 0.7373 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.4325, allocations: 1.075 MB / 0.7384 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.4331, allocations: 0.7736 MB / 0.7392 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.4338, allocations: 0.7941 MB / 0.7399 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.434, allocations: 185.8 kB / 0.7401 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.435, allocations: 0.923 MB / 0.741 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.4353, allocations: 496.5 kB / 0.7415 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.4359, allocations: 0.8984 MB / 0.7424 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.4377, allocations: 2.642 MB / 0.7449 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4377, allocations: 2.781 kB / 0.7449 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4377, allocations: 3.938 kB / 0.7449 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.4377, allocations: 0 / 0.7449 GB, free: 9.129 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.002846/0.4406, allocations: 2.159 MB / 0.7471 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.4406, allocations: 9.062 kB / 0.7471 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.4408, allocations: 204.1 kB / 0.7473 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.4425, allocations: 360.5 kB / 0.7476 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.4438, allocations: 1.206 MB / 0.7488 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.4439, allocations: 102.7 kB / 0.7489 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.444, allocations: 128 kB / 0.749 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.4463, allocations: 1.52 MB / 0.7505 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.4463, allocations: 3.938 kB / 0.7505 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.4464, allocations: 60 kB / 0.7505 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.4465, allocations: 32 kB / 0.7506 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.4493, allocations: 2.043 MB / 0.7526 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005472/0.4548, allocations: 4.451 MB / 0.7569 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.4572, allocations: 1.425 MB / 0.7583 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008731/0.4581, allocations: 0.5321 MB / 0.7588 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.4582, allocations: 61.19 kB / 0.7589 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.4595, allocations: 0.7969 MB / 0.7597 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.514e-06/0.4595, allocations: 0 / 0.7597 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005028/0.4645, allocations: 2.103 MB / 0.7617 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4647, allocations: 355.3 kB / 0.7621 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.4657, allocations: 1.075 MB / 0.7631 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.4658, allocations: 49.7 kB / 0.7632 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.4662, allocations: 0.6186 MB / 0.7638 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.4665, allocations: 457.4 kB / 0.7642 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.4668, allocations: 246.8 kB / 0.7644 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.4669, allocations: 357.9 kB / 0.7648 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.4677, allocations: 438.4 kB / 0.7652 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4688, allocations: 0.6438 MB / 0.7658 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4706, allocations: 1.075 MB / 0.7669 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4706, allocations: 4 kB / 0.7669 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003105/0.4737, allocations: 1.419 MB / 0.7683 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4737, allocations: 5.875 kB / 0.7683 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4737, allocations: 4 kB / 0.7683 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4748, allocations: 165.8 kB / 0.7684 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.4758, allocations: 271.6 kB / 0.7687 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007857/0.4836, allocations: 3.287 MB / 0.7719 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.4846, allocations: 155.6 kB / 0.772 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.4847, allocations: 59.95 kB / 0.7721 GB, free: 13.17 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.0004684/0.4852, allocations: 382.1 kB / 0.7725 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.4854, allocations: 146.2 kB / 0.7726 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.4896, allocations: 1.983 MB / 0.7745 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4896, allocations: 16 kB / 0.7746 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4896, allocations: 0 / 0.7746 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.4896, allocations: 7.969 kB / 0.7746 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.491, allocations: 1.469 MB / 0.776 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.491, allocations: 0 / 0.776 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/0.492, allocations: 275.7 kB / 0.7763 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007986/0.4928, allocations: 157.4 kB / 0.7764 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.4929, allocations: 39.97 kB / 0.7764 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.496, allocations: 3.344 MB / 0.7797 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.496, allocations: 4.031 kB / 0.7797 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.499, allocations: 1.623 MB / 0.7813 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.4995, allocations: 434.6 kB / 0.7817 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.4997, allocations: 32 kB / 0.7817 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.5006, allocations: 118.5 kB / 0.7819 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.5008, allocations: 109.8 kB / 0.782 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/0.5009, allocations: 63.95 kB / 0.782 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007706/0.5017, allocations: 0.7496 MB / 0.7828 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5017, allocations: 0 / 0.7828 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001148/0.5029, allocations: 462.9 kB / 0.7832 GB, free: 1.391 MB / 0.5919 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.00638/0.5093, allocations: 2.72 MB / 0.7859 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003463/0.5127, allocations: 1.791 MB / 0.7876 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5127, allocations: 0 / 0.7876 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.5143, allocations: 0.9536 MB / 0.7885 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.516, allocations: 0.5556 MB / 0.7891 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.535, allocations: 11.76 MB / 0.8006 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.5357, allocations: 1.282 MB / 0.8018 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001388/0.5371, allocations: 499.8 kB / 0.8023 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.5378, allocations: 0.6593 MB / 0.8029 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.5378, allocations: 3.938 kB / 0.8029 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6207/1.159, allocations: 35.69 MB / 0.8378 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.159, allocations: 274.7 kB / 0.8381 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.709, allocations: 0 / 0.8381 GB, free: 9.316 MB / 0.6544 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)