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.005828/0.005829, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001291/0.00129, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.773/0.773, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.81 kB / 0.5808 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007955/0.1654, allocations: 6.224 MB / 0.6652 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5032/0.6686, allocations: 153.2 MB / 0.8149 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.6702, allocations: 36.88 kB / 0.8149 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008762/0.6711, allocations: 306.5 kB / 0.8152 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.6732, allocations: 0.6527 MB / 0.8158 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.6763, allocations: 1.294 MB / 0.8171 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.6789, allocations: 2.329 MB / 0.8194 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.6802, allocations: 1.068 MB / 0.8204 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.6813, allocations: 0.7783 MB / 0.8212 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.6822, allocations: 0.7886 MB / 0.8219 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.6824, allocations: 187.6 kB / 0.8221 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.6839, allocations: 0.9455 MB / 0.823 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.6843, allocations: 499.8 kB / 0.8235 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008321/0.6851, allocations: 0.901 MB / 0.8244 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.6886, allocations: 2.717 MB / 0.8271 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.6886, allocations: 0 / 0.8271 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6886, allocations: 0 / 0.8271 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.6886, allocations: 0 / 0.8271 GB, free: 3.957 MB / 0.5919 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.003783/0.6924, allocations: 2.167 MB / 0.8292 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.6925, allocations: 7.688 kB / 0.8292 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003253/0.6928, allocations: 202.2 kB / 0.8294 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6947, allocations: 352.9 kB / 0.8297 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.6965, allocations: 1.253 MB / 0.8309 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.6966, allocations: 101.5 kB / 0.831 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.6967, allocations: 129.9 kB / 0.8311 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.6991, allocations: 1.524 MB / 0.8326 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.6992, allocations: 2.75 kB / 0.8326 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.6993, allocations: 56.5 kB / 0.8327 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.6993, allocations: 38.81 kB / 0.8327 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.7023, allocations: 2.04 MB / 0.8347 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.7091, allocations: 4.38 MB / 0.839 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.7117, allocations: 1.434 MB / 0.8404 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008833/0.7126, allocations: 0.5349 MB / 0.8409 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.7127, allocations: 54.84 kB / 0.841 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.7141, allocations: 0.7957 MB / 0.8418 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=136): time 3.266e-06/0.7141, allocations: 0 / 0.8418 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.005732/0.7198, allocations: 2.109 MB / 0.8438 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.72, allocations: 347.3 kB / 0.8441 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.7215, allocations: 1.075 MB / 0.8452 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.7216, allocations: 57.64 kB / 0.8452 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005027/0.7221, allocations: 0.6186 MB / 0.8459 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.7225, allocations: 445.5 kB / 0.8463 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.7228, allocations: 254.7 kB / 0.8465 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7229, allocations: 353.9 kB / 0.8469 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/0.7238, allocations: 438.4 kB / 0.8473 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.7249, allocations: 0.6368 MB / 0.8479 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.7269, allocations: 1.075 MB / 0.8489 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7269, allocations: 0 / 0.8489 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003639/0.7306, allocations: 1.42 MB / 0.8503 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7306, allocations: 9.406 kB / 0.8503 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7306, allocations: 0 / 0.8503 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7317, allocations: 169.8 kB / 0.8505 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7328, allocations: 275.6 kB / 0.8508 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.7366, allocations: 3.279 MB / 0.854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7379, allocations: 152.8 kB / 0.8541 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.7381, allocations: 55.97 kB / 0.8542 GB, free: 13.54 MB / 0.6231 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.0006764/0.7387, allocations: 386.8 kB / 0.8545 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.7391, allocations: 154.1 kB / 0.8547 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/0.7434, allocations: 1.966 MB / 0.8566 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.7434, allocations: 16 kB / 0.8566 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7434, allocations: 0 / 0.8566 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.7435, allocations: 15.97 kB / 0.8566 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.7454, allocations: 1.482 MB / 0.8581 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7455, allocations: 4 kB / 0.8581 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.7465, allocations: 275.7 kB / 0.8584 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008722/0.7474, allocations: 149.4 kB / 0.8585 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.7475, allocations: 43.97 kB / 0.8585 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.7511, allocations: 3.351 MB / 0.8618 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7511, allocations: 0.9375 kB / 0.8618 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.7548, allocations: 1.627 MB / 0.8634 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.7555, allocations: 430.7 kB / 0.8638 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.7557, allocations: 36 kB / 0.8638 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.7567, allocations: 110 kB / 0.8639 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.757, allocations: 117.8 kB / 0.8641 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.7571, allocations: 59.95 kB / 0.8641 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001136/0.7582, allocations: 0.7496 MB / 0.8648 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7582, allocations: 0 / 0.8648 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00133/0.7596, allocations: 470.9 kB / 0.8653 GB, free: 1.73 MB / 0.6231 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.005162/0.7647, allocations: 2.718 MB / 0.868 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003308/0.7681, allocations: 1.452 MB / 0.8694 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7681, allocations: 0 / 0.8694 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.7698, allocations: 0.9498 MB / 0.8703 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.772, allocations: 0.5581 MB / 0.8708 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.792, allocations: 10.39 MB / 0.881 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.7931, allocations: 1.278 MB / 0.8822 GB, free: 352 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001807/0.7949, allocations: 0.4992 MB / 0.8827 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.796, allocations: 0.6593 MB / 0.8834 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of SimCode: time 1.352e-06/0.796, allocations: 3.938 kB / 0.8834 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0755/0.8715, allocations: 36.96 MB / 0.9195 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.37, allocations: 11.62 kB / 0.9195 GB, free: 10.51 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)