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.001179/0.001179, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001113/0.001113, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.175/1.175, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.58 kB / 0.505 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 80.92 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006456/0.1247, allocations: 6.185 MB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3225/0.4471, allocations: 150.9 MB / 0.7374 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4482, allocations: 30.25 kB / 0.7374 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.4489, allocations: 245.2 kB / 0.7377 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.4506, allocations: 0.5729 MB / 0.7382 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.4528, allocations: 1.168 MB / 0.7394 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.4545, allocations: 2.324 MB / 0.7416 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.4556, allocations: 1.062 MB / 0.7427 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.4563, allocations: 0.7805 MB / 0.7434 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.4569, allocations: 0.8027 MB / 0.7442 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.4571, allocations: 186.8 kB / 0.7444 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.4582, allocations: 0.913 MB / 0.7453 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.4585, allocations: 0.4907 MB / 0.7458 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.4591, allocations: 0.8999 MB / 0.7467 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.461, allocations: 2.645 MB / 0.7492 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.461, allocations: 0 / 0.7492 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4611, allocations: 0 / 0.7492 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.4611, allocations: 3.938 kB / 0.7492 GB, free: 3.664 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.002968/0.464, allocations: 2.166 MB / 0.7514 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4641, allocations: 8.031 kB / 0.7514 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.4643, allocations: 206.8 kB / 0.7516 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.466, allocations: 354.4 kB / 0.7519 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.4674, allocations: 1.208 MB / 0.7531 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.4675, allocations: 94.69 kB / 0.7532 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.4677, allocations: 136 kB / 0.7533 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.4699, allocations: 1.516 MB / 0.7548 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.47, allocations: 4.875 kB / 0.7548 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.4701, allocations: 63.98 kB / 0.7549 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4701, allocations: 35.94 kB / 0.7549 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.473, allocations: 2.035 MB / 0.7569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.4787, allocations: 4.441 MB / 0.7612 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.4812, allocations: 1.432 MB / 0.7626 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000907/0.4821, allocations: 0.5359 MB / 0.7631 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4822, allocations: 56.94 kB / 0.7632 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.4835, allocations: 0.7991 MB / 0.764 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.425e-06/0.4836, allocations: 0 / 0.764 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005197/0.4888, allocations: 2.107 MB / 0.766 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.4889, allocations: 355.2 kB / 0.7664 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.49, allocations: 1.075 MB / 0.7674 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.4901, allocations: 53.7 kB / 0.7675 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.4905, allocations: 0.6186 MB / 0.7681 GB, free: 112 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.4908, allocations: 450 kB / 0.7685 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.4911, allocations: 250.7 kB / 0.7687 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4912, allocations: 353.9 kB / 0.7691 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/0.4921, allocations: 434.4 kB / 0.7695 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.4931, allocations: 0.6446 MB / 0.7701 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.495, allocations: 1.067 MB / 0.7712 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.495, allocations: 0 / 0.7712 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003175/0.4982, allocations: 1.416 MB / 0.7725 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4982, allocations: 12.28 kB / 0.7726 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4982, allocations: 4 kB / 0.7726 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.4993, allocations: 161.5 kB / 0.7727 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.5003, allocations: 271.6 kB / 0.773 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.5038, allocations: 3.297 MB / 0.7762 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.5047, allocations: 150.7 kB / 0.7763 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.5048, allocations: 60.72 kB / 0.7764 GB, free: 7.168 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.0004699/0.5053, allocations: 377.5 kB / 0.7768 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.5056, allocations: 146.2 kB / 0.7769 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/0.5099, allocations: 1.977 MB / 0.7788 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5099, allocations: 26.62 kB / 0.7788 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5099, allocations: 3.938 kB / 0.7789 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.5099, allocations: 7.969 kB / 0.7789 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.5113, allocations: 1.472 MB / 0.7803 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5113, allocations: 0 / 0.7803 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5124, allocations: 275.7 kB / 0.7806 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008072/0.5132, allocations: 153.5 kB / 0.7807 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.5133, allocations: 43.97 kB / 0.7807 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.5165, allocations: 3.34 MB / 0.784 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5166, allocations: 3.938 kB / 0.784 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.5198, allocations: 1.623 MB / 0.7856 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.5202, allocations: 430.6 kB / 0.786 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.5204, allocations: 28 kB / 0.786 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.5214, allocations: 115.8 kB / 0.7861 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.5216, allocations: 118 kB / 0.7863 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/0.5217, allocations: 55.97 kB / 0.7863 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008109/0.5225, allocations: 0.7535 MB / 0.787 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5225, allocations: 0 / 0.787 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000923/0.5235, allocations: 463 kB / 0.7875 GB, free: 11.39 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.004555/0.528, allocations: 2.718 MB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.5316, allocations: 1.803 MB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5316, allocations: 0 / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.5332, allocations: 0.9575 MB / 0.7928 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.535, allocations: 0.5541 MB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.5547, allocations: 11.76 MB / 0.8049 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.5554, allocations: 1.289 MB / 0.8061 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001408/0.5568, allocations: 0.4959 MB / 0.8066 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008058/0.5576, allocations: 0.6554 MB / 0.8072 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.5576, allocations: 0 / 0.8072 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2534/0.8111, allocations: 35.68 MB / 0.8421 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8113, allocations: 288.3 kB / 0.8424 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.649, allocations: 0 / 0.8424 GB, free: 3.266 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)