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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7493/0.7493, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.55 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3593, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00517/0.3645, allocations: 4.191 MB / 0.5843 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1521/0.5166, allocations: 150.5 MB / 0.7312 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.5174, allocations: 15.94 kB / 0.7312 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.5182, allocations: 170.4 kB / 0.7314 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.5203, allocations: 490 kB / 0.7319 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.5224, allocations: 0.7859 MB / 0.7326 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5238, allocations: 1.207 MB / 0.7338 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.5246, allocations: 0.5536 MB / 0.7343 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.5253, allocations: 422.5 kB / 0.7348 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.5258, allocations: 442 kB / 0.7352 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.526, allocations: 96 kB / 0.7353 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.5274, allocations: 0.8232 MB / 0.7361 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.5277, allocations: 267.1 kB / 0.7363 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.5281, allocations: 485.4 kB / 0.7368 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.5301, allocations: 1.613 MB / 0.7384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5301, allocations: 0 / 0.7384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5301, allocations: 0 / 0.7384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.5301, allocations: 0 / 0.7384 GB, free: 14.99 MB / 0.5762 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.002315/0.5324, allocations: 1.358 MB / 0.7397 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5325, allocations: 8.031 kB / 0.7397 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5326, allocations: 118.7 kB / 0.7398 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.5337, allocations: 203.5 kB / 0.74 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.5346, allocations: 0.6953 MB / 0.7407 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.5347, allocations: 57.98 kB / 0.7407 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.5348, allocations: 68 kB / 0.7408 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5361, allocations: 0.8255 MB / 0.7416 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5361, allocations: 4 kB / 0.7416 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.5362, allocations: 28 kB / 0.7416 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5362, allocations: 20 kB / 0.7417 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.538, allocations: 1.081 MB / 0.7427 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.5412, allocations: 2.364 MB / 0.745 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.5426, allocations: 0.7477 MB / 0.7457 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.5433, allocations: 314.5 kB / 0.746 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.5433, allocations: 28.69 kB / 0.7461 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008741/0.5442, allocations: 455.2 kB / 0.7465 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.5442, allocations: 0 / 0.7465 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003269/0.5475, allocations: 1.174 MB / 0.7477 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.5476, allocations: 192.6 kB / 0.7478 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.5482, allocations: 0.594 MB / 0.7484 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.5483, allocations: 41.7 kB / 0.7485 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.5486, allocations: 356.5 kB / 0.7488 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.5488, allocations: 248.4 kB / 0.749 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.5489, allocations: 134.3 kB / 0.7492 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5491, allocations: 382.8 kB / 0.7495 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.5497, allocations: 241.2 kB / 0.7498 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.5503, allocations: 355.6 kB / 0.7501 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5516, allocations: 0.5831 MB / 0.7507 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5516, allocations: 0 / 0.7507 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001948/0.5536, allocations: 0.7976 MB / 0.7514 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5536, allocations: 4 kB / 0.7515 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5536, allocations: 0 / 0.7515 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.5542, allocations: 84.95 kB / 0.7515 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.5549, allocations: 155.8 kB / 0.7517 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.5569, allocations: 1.649 MB / 0.7533 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.5575, allocations: 83.48 kB / 0.7534 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.5575, allocations: 31.97 kB / 0.7534 GB, free: 15.04 MB / 0.5919 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.0003027/0.5578, allocations: 247.6 kB / 0.7536 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.558, allocations: 75.06 kB / 0.7537 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5606, allocations: 1.104 MB / 0.7548 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5606, allocations: 12 kB / 0.7548 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.5606, allocations: 4 kB / 0.7548 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5606, allocations: 7.969 kB / 0.7548 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008164/0.5615, allocations: 0.8449 MB / 0.7556 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5615, allocations: 0 / 0.7556 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.5621, allocations: 155.8 kB / 0.7558 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.5625, allocations: 76.72 kB / 0.7559 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.5626, allocations: 27.92 kB / 0.7559 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.5643, allocations: 1.666 MB / 0.7575 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5643, allocations: 0 / 0.7575 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.5663, allocations: 0.9044 MB / 0.7584 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.5667, allocations: 263.7 kB / 0.7586 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5668, allocations: 24.05 kB / 0.7587 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.5674, allocations: 63.88 kB / 0.7587 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5675, allocations: 60.91 kB / 0.7588 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.5676, allocations: 39.98 kB / 0.7588 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004576/0.568, allocations: 435 kB / 0.7592 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.568, allocations: 0 / 0.7592 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006848/0.5687, allocations: 291.4 kB / 0.7595 GB, free: 8.512 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.003324/0.572, allocations: 1.967 MB / 0.7614 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.5743, allocations: 0.9855 MB / 0.7624 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5743, allocations: 0 / 0.7624 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.5753, allocations: 0.512 MB / 0.7629 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5763, allocations: 288.2 kB / 0.7632 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.5868, allocations: 6.175 MB / 0.7692 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.5874, allocations: 0.9954 MB / 0.7702 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.5882, allocations: 266.2 kB / 0.7704 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.5887, allocations: 355.2 kB / 0.7708 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.5887, allocations: 0 / 0.7708 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.6339, allocations: 20.45 MB / 0.7907 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.37, allocations: 14.75 kB / 0.7908 GB, free: 8.914 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)