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.005926/0.005926, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001385/0.001385, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.5808 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 80.2 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006111/0.3688, allocations: 6.22 MB / 0.6652 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5234, allocations: 153.2 MB / 0.8149 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.5248, allocations: 31.88 kB / 0.8149 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5259, allocations: 325 kB / 0.8152 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.5283, allocations: 0.6612 MB / 0.8159 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.5315, allocations: 1.303 MB / 0.8171 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.534, allocations: 2.325 MB / 0.8194 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.5361, allocations: 1.072 MB / 0.8204 GB, free: 444 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5375, allocations: 0.7863 MB / 0.8212 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5385, allocations: 0.7894 MB / 0.822 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.539, allocations: 188 kB / 0.8222 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.5407, allocations: 0.9442 MB / 0.8231 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.5412, allocations: 490.4 kB / 0.8235 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.5423, allocations: 0.9054 MB / 0.8244 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.5455, allocations: 2.714 MB / 0.8271 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5456, allocations: 0 / 0.8271 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5456, allocations: 0 / 0.8271 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.5456, allocations: 0 / 0.8271 GB, free: 9.609 MB / 0.6544 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.003646/0.5493, allocations: 2.162 MB / 0.8292 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5493, allocations: 12.03 kB / 0.8292 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.5495, allocations: 194.8 kB / 0.8294 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.5513, allocations: 362.1 kB / 0.8297 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.5531, allocations: 1.247 MB / 0.831 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.5532, allocations: 94.69 kB / 0.831 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.5533, allocations: 139.9 kB / 0.8312 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.5557, allocations: 1.52 MB / 0.8327 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5558, allocations: 4 kB / 0.8327 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.5559, allocations: 63.98 kB / 0.8327 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.5559, allocations: 32 kB / 0.8328 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.559, allocations: 2.043 MB / 0.8348 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006349/0.5653, allocations: 4.393 MB / 0.839 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.568, allocations: 1.423 MB / 0.8404 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/0.569, allocations: 0.5397 MB / 0.841 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.5691, allocations: 61.17 kB / 0.841 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.5705, allocations: 0.7921 MB / 0.8418 GB, free: 10.19 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 3.126e-06/0.5705, allocations: 0 / 0.8418 GB, free: 10.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.005346/0.5758, allocations: 2.108 MB / 0.8438 GB, free: 8.031 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.576, allocations: 355.2 kB / 0.8442 GB, free: 7.605 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.5773, allocations: 1.072 MB / 0.8452 GB, free: 6.523 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.5775, allocations: 53.7 kB / 0.8453 GB, free: 6.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.5779, allocations: 0.6147 MB / 0.8459 GB, free: 5.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.5783, allocations: 449.5 kB / 0.8463 GB, free: 5.398 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.5786, allocations: 254.7 kB / 0.8466 GB, free: 5.145 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5787, allocations: 349.9 kB / 0.8469 GB, free: 4.797 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.5796, allocations: 438.4 kB / 0.8473 GB, free: 4.367 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.5807, allocations: 0.6462 MB / 0.8479 GB, free: 3.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.5827, allocations: 1.071 MB / 0.849 GB, free: 2.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.5827, allocations: 0 / 0.849 GB, free: 2.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003368/0.586, allocations: 1.42 MB / 0.8504 GB, free: 1.125 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5861, allocations: 12 kB / 0.8504 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.5861, allocations: 0 / 0.8504 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5871, allocations: 169.5 kB / 0.8505 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5882, allocations: 271.6 kB / 0.8508 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.5918, allocations: 3.276 MB / 0.854 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.593, allocations: 153.1 kB / 0.8542 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5931, allocations: 59.95 kB / 0.8542 GB, free: 12.9 MB / 0.6856 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.000688/0.5938, allocations: 378.1 kB / 0.8546 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.5941, allocations: 150.1 kB / 0.8547 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.5983, allocations: 1.968 MB / 0.8566 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5983, allocations: 16 kB / 0.8566 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5983, allocations: 4.094 kB / 0.8567 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.5984, allocations: 11.91 kB / 0.8567 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.6001, allocations: 1.486 MB / 0.8581 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6001, allocations: 3.938 kB / 0.8581 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6011, allocations: 279.6 kB / 0.8584 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007686/0.6019, allocations: 137.6 kB / 0.8585 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/0.602, allocations: 43.97 kB / 0.8586 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.6056, allocations: 3.347 MB / 0.8618 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6057, allocations: 0 / 0.8618 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.6092, allocations: 1.634 MB / 0.8634 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/0.6099, allocations: 422.7 kB / 0.8638 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6101, allocations: 35.94 kB / 0.8639 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.6111, allocations: 111.9 kB / 0.864 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.6113, allocations: 122 kB / 0.8641 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.6114, allocations: 55.97 kB / 0.8641 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001061/0.6125, allocations: 0.7457 MB / 0.8649 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6125, allocations: 4 kB / 0.8649 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001246/0.6137, allocations: 466.9 kB / 0.8653 GB, free: 1.105 MB / 0.6856 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.2647/0.8784, allocations: 2.696 MB / 0.8679 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.8814, allocations: 1.446 MB / 0.8694 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8815, allocations: 1.938 kB / 0.8694 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.8831, allocations: 0.9584 MB / 0.8703 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.8855, allocations: 0.5563 MB / 0.8708 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.9045, allocations: 10.4 MB / 0.881 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.9053, allocations: 1.286 MB / 0.8823 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001599/0.9069, allocations: 0.4954 MB / 0.8827 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.9077, allocations: 0.6545 MB / 0.8834 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.9077, allocations: 3.938 kB / 0.8834 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06414/0.9718, allocations: 36.26 MB / 0.9188 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.1, allocations: 23.8 kB / 0.9188 GB, free: 160.8 MB / 0.6856 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)