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.004265/0.004265, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001139/0.001139, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 66.17 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1194, allocations: 80.2 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.0055/0.125, allocations: 4.199 MB / 0.6633 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3991/0.5241, allocations: 150.5 MB / 0.8102 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.5247, allocations: 22.69 kB / 0.8102 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.5251, allocations: 161.8 kB / 0.8104 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.5263, allocations: 494.9 kB / 0.8109 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.5276, allocations: 0.7871 MB / 0.8116 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.5285, allocations: 1.22 MB / 0.8128 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.5291, allocations: 0.5536 MB / 0.8134 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.5295, allocations: 427.8 kB / 0.8138 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.5299, allocations: 434.5 kB / 0.8142 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.53, allocations: 98.84 kB / 0.8143 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009727/0.531, allocations: 0.8555 MB / 0.8151 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.5312, allocations: 258.5 kB / 0.8154 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.5315, allocations: 485.8 kB / 0.8158 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.533, allocations: 1.655 MB / 0.8174 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.533, allocations: 0 / 0.8174 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.533, allocations: 6.156 kB / 0.8174 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5331, allocations: 0 / 0.8174 GB, free: 9.605 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001914/0.535, allocations: 1.387 MB / 0.8188 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.535, allocations: 11.83 kB / 0.8188 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5351, allocations: 117 kB / 0.8189 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5361, allocations: 202.5 kB / 0.8191 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.5371, allocations: 0.7303 MB / 0.8198 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.5372, allocations: 54.38 kB / 0.8199 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.5372, allocations: 64.88 kB / 0.8199 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.5386, allocations: 0.8284 MB / 0.8207 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5386, allocations: 0 / 0.8207 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.5387, allocations: 31.97 kB / 0.8208 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.5387, allocations: 21.12 kB / 0.8208 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5404, allocations: 1.08 MB / 0.8218 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.5436, allocations: 2.337 MB / 0.8241 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.5449, allocations: 0.7442 MB / 0.8249 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.5455, allocations: 311.9 kB / 0.8252 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.5456, allocations: 29.28 kB / 0.8252 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.5464, allocations: 459.9 kB / 0.8256 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 1.743e-06/0.5464, allocations: 0 / 0.8256 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003077/0.5495, allocations: 1.175 MB / 0.8268 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5496, allocations: 188 kB / 0.8269 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.5502, allocations: 0.5966 MB / 0.8275 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.5503, allocations: 41.92 kB / 0.8276 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.5506, allocations: 368.2 kB / 0.8279 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.5508, allocations: 259 kB / 0.8282 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.551, allocations: 140.4 kB / 0.8283 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5512, allocations: 378 kB / 0.8287 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.5517, allocations: 248.3 kB / 0.8289 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.5524, allocations: 358.5 kB / 0.8292 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5536, allocations: 0.5894 MB / 0.8298 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5536, allocations: 0 / 0.8298 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001844/0.5554, allocations: 0.7903 MB / 0.8306 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5554, allocations: 7.438 kB / 0.8306 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5555, allocations: 0 / 0.8306 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.556, allocations: 83.64 kB / 0.8307 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.5566, allocations: 150.4 kB / 0.8308 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.5585, allocations: 1.642 MB / 0.8324 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.5591, allocations: 82.94 kB / 0.8325 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.5591, allocations: 28.52 kB / 0.8325 GB, free: 15.06 MB / 0.6075 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.0003068/0.5595, allocations: 250.6 kB / 0.8328 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5596, allocations: 85.38 kB / 0.8328 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.562, allocations: 1.104 MB / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5621, allocations: 7.75 kB / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5621, allocations: 0 / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5621, allocations: 11.97 kB / 0.8339 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.563, allocations: 0.8417 MB / 0.8348 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.563, allocations: 0 / 0.8348 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.5636, allocations: 162 kB / 0.8349 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.564, allocations: 71.92 kB / 0.835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.5641, allocations: 29.41 kB / 0.835 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.5659, allocations: 1.671 MB / 0.8367 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5659, allocations: 6.562 kB / 0.8367 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5678, allocations: 0.9028 MB / 0.8375 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.5681, allocations: 273.8 kB / 0.8378 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.5682, allocations: 16.66 kB / 0.8378 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.5688, allocations: 66.83 kB / 0.8379 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5689, allocations: 58.86 kB / 0.8379 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.569, allocations: 36.38 kB / 0.838 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004539/0.5694, allocations: 434.6 kB / 0.8384 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5694, allocations: 0 / 0.8384 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005846/0.57, allocations: 295.2 kB / 0.8387 GB, free: 10.67 MB / 0.6075 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.003712/0.5737, allocations: 1.972 MB / 0.8406 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.5753, allocations: 0.7923 MB / 0.8414 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5753, allocations: 0 / 0.8414 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.5762, allocations: 0.511 MB / 0.8419 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.5772, allocations: 289.4 kB / 0.8421 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5874, allocations: 6.035 MB / 0.848 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.588, allocations: 0.9916 MB / 0.849 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006902/0.5887, allocations: 269.9 kB / 0.8493 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.5892, allocations: 347.2 kB / 0.8496 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5892, allocations: 0 / 0.8496 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7342/1.323, allocations: 20.67 MB / 0.8698 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.19, allocations: 5.828 kB / 0.8698 GB, free: 12.63 MB / 0.6387 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)