Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001135/0.001135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001115/0.001115, allocations: 194 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6767/0.6767, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 58.3 kB / 0.5013 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3057, allocations: 80.21 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004357/0.3101, allocations: 4.198 MB / 0.5838 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1339/0.444, allocations: 148.3 MB / 0.7286 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.4448, allocations: 19.88 kB / 0.7286 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.4455, allocations: 127 kB / 0.7287 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.4471, allocations: 425.1 kB / 0.7291 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.4488, allocations: 0.7099 MB / 0.7298 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.4497, allocations: 1.214 MB / 0.731 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006447/0.4504, allocations: 0.5502 MB / 0.7315 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.4508, allocations: 430.5 kB / 0.7319 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.4511, allocations: 438 kB / 0.7323 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4513, allocations: 99.94 kB / 0.7324 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.4523, allocations: 0.8231 MB / 0.7332 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4525, allocations: 259.1 kB / 0.7335 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.4528, allocations: 497.4 kB / 0.734 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.4544, allocations: 1.601 MB / 0.7355 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4544, allocations: 4 kB / 0.7355 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4544, allocations: 0 / 0.7355 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4544, allocations: 0 / 0.7355 GB, free: 1.508 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001881/0.4563, allocations: 1.342 MB / 0.7368 GB, free: 120 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4563, allocations: 19.95 kB / 0.7369 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.4565, allocations: 114.8 kB / 0.737 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4575, allocations: 199.5 kB / 0.7372 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.4583, allocations: 0.6953 MB / 0.7378 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.4584, allocations: 54 kB / 0.7379 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.4585, allocations: 71.88 kB / 0.738 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.4598, allocations: 0.8333 MB / 0.7388 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4598, allocations: 0 / 0.7388 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.4599, allocations: 32 kB / 0.7388 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4599, allocations: 20 kB / 0.7388 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.4616, allocations: 1.081 MB / 0.7399 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.4647, allocations: 2.371 MB / 0.7422 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4659, allocations: 0.7399 MB / 0.7429 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.4665, allocations: 298.7 kB / 0.7432 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.4666, allocations: 36.67 kB / 0.7432 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008637/0.4675, allocations: 467.2 kB / 0.7437 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/0.4675, allocations: 0 / 0.7437 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003152/0.4706, allocations: 1.174 MB / 0.7448 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.4707, allocations: 188.6 kB / 0.745 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.4713, allocations: 0.5979 MB / 0.7456 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.4714, allocations: 41.7 kB / 0.7456 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4716, allocations: 356.5 kB / 0.746 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4718, allocations: 240.5 kB / 0.7462 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.472, allocations: 138.3 kB / 0.7463 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4721, allocations: 378.8 kB / 0.7467 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.4726, allocations: 253.1 kB / 0.7469 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.4732, allocations: 355.6 kB / 0.7473 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4744, allocations: 0.5871 MB / 0.7478 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4744, allocations: 0 / 0.7478 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001828/0.4762, allocations: 0.7898 MB / 0.7486 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4763, allocations: 10.19 kB / 0.7486 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4763, allocations: 128 / 0.7486 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.4768, allocations: 88.7 kB / 0.7487 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.4775, allocations: 151.8 kB / 0.7489 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.4793, allocations: 1.642 MB / 0.7505 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.4799, allocations: 83.38 kB / 0.7505 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.4799, allocations: 27.98 kB / 0.7506 GB, free: 1.551 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.4802, allocations: 253.7 kB / 0.7508 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4804, allocations: 75.06 kB / 0.7509 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.4829, allocations: 1.104 MB / 0.752 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4829, allocations: 8 kB / 0.752 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4829, allocations: 0 / 0.752 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.4829, allocations: 7.969 kB / 0.752 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.4837, allocations: 0.841 MB / 0.7528 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4837, allocations: 4 kB / 0.7528 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.4844, allocations: 163.8 kB / 0.753 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.4848, allocations: 68.8 kB / 0.753 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.4848, allocations: 27.97 kB / 0.753 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.4865, allocations: 1.67 MB / 0.7547 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4865, allocations: 3.984 kB / 0.7547 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.4883, allocations: 0.9044 MB / 0.7556 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.4886, allocations: 267.7 kB / 0.7558 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.4887, allocations: 16 kB / 0.7558 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.4893, allocations: 63.92 kB / 0.7559 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4894, allocations: 64.91 kB / 0.756 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.4895, allocations: 36.05 kB / 0.756 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004351/0.4899, allocations: 439 kB / 0.7564 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4899, allocations: 0 / 0.7564 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006545/0.4906, allocations: 287.4 kB / 0.7567 GB, free: 11.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/0.4937, allocations: 1.963 MB / 0.7586 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.4959, allocations: 0.9814 MB / 0.7596 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4959, allocations: 4.25 kB / 0.7596 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.4968, allocations: 0.508 MB / 0.7601 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.4978, allocations: 295.5 kB / 0.7603 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.5086, allocations: 6.528 MB / 0.7667 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.5091, allocations: 0.9915 MB / 0.7677 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.5098, allocations: 269.5 kB / 0.7679 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.5103, allocations: 351.3 kB / 0.7683 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5103, allocations: 0 / 0.7683 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5729/1.083, allocations: 20.24 MB / 0.788 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.083, allocations: 293.6 kB / 0.7883 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.253, allocations: 0 / 0.7883 GB, free: 10.94 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)