Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001085/0.001085, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 279.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 95.41 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005609/0.1466, allocations: 4.42 MB / 0.6859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3886/0.5352, allocations: 150.6 MB / 0.8329 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.5358, allocations: 15.94 kB / 0.833 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.5363, allocations: 177.2 kB / 0.8331 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.5378, allocations: 0.506 MB / 0.8336 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.5396, allocations: 0.8404 MB / 0.8344 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.5408, allocations: 1.343 MB / 0.8358 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.5415, allocations: 0.5669 MB / 0.8363 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.542, allocations: 466.4 kB / 0.8367 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.5426, allocations: 490.4 kB / 0.8372 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5427, allocations: 108 kB / 0.8373 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.5439, allocations: 0.8739 MB / 0.8382 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.5442, allocations: 295 kB / 0.8385 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.5446, allocations: 0.5246 MB / 0.839 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.5463, allocations: 1.765 MB / 0.8407 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5463, allocations: 0 / 0.8407 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5463, allocations: 0 / 0.8407 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.5463, allocations: 4 kB / 0.8407 GB, free: 11.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002405/0.5487, allocations: 1.443 MB / 0.8421 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.5488, allocations: 12.03 kB / 0.8421 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5499, allocations: 203.4 kB / 0.8423 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.551, allocations: 0.759 MB / 0.843 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.5511, allocations: 61.92 kB / 0.8431 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.5512, allocations: 76 kB / 0.8432 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5528, allocations: 0.8958 MB / 0.8441 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5528, allocations: 0 / 0.8441 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.5529, allocations: 32 kB / 0.8441 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.5529, allocations: 27.69 kB / 0.8441 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.5549, allocations: 1.128 MB / 0.8452 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.5586, allocations: 2.478 MB / 0.8476 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5602, allocations: 0.8287 MB / 0.8484 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.5609, allocations: 334.7 kB / 0.8488 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/0.561, allocations: 32.59 kB / 0.8488 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/0.562, allocations: 0.5344 MB / 0.8493 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.053e-06/0.562, allocations: 0 / 0.8493 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003498/0.5655, allocations: 1.287 MB / 0.8506 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.5656, allocations: 196.5 kB / 0.8508 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.5664, allocations: 0.6372 MB / 0.8514 GB, free: 96 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.5664, allocations: 37.7 kB / 0.8514 GB, free: 52 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.5667, allocations: 380.5 kB / 0.8518 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.5669, allocations: 264.2 kB / 0.852 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.5672, allocations: 174.5 kB / 0.8522 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5674, allocations: 386.8 kB / 0.8526 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.5681, allocations: 301.8 kB / 0.8529 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.5689, allocations: 399.9 kB / 0.8532 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.5703, allocations: 0.6705 MB / 0.8539 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5703, allocations: 0 / 0.8539 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002273/0.5726, allocations: 0.9189 MB / 0.8548 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5726, allocations: 7.938 kB / 0.8548 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5726, allocations: 4 kB / 0.8548 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.5732, allocations: 84.89 kB / 0.8549 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.574, allocations: 179.7 kB / 0.8551 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5761, allocations: 1.646 MB / 0.8567 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/0.5768, allocations: 103.4 kB / 0.8568 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.5769, allocations: 39.97 kB / 0.8568 GB, free: 10.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003794/0.5773, allocations: 267.9 kB / 0.8571 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.5775, allocations: 90.89 kB / 0.8571 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.5803, allocations: 1.203 MB / 0.8583 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5803, allocations: 12 kB / 0.8583 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5803, allocations: 0 / 0.8583 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.5803, allocations: 3.984 kB / 0.8583 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.5813, allocations: 0.9187 MB / 0.8592 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5813, allocations: 0 / 0.8592 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.582, allocations: 163.8 kB / 0.8594 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.5825, allocations: 68.78 kB / 0.8594 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.5825, allocations: 23.98 kB / 0.8595 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.5844, allocations: 1.677 MB / 0.8611 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5845, allocations: 0 / 0.8611 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.5867, allocations: 1.01 MB / 0.8621 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.5871, allocations: 283.7 kB / 0.8624 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5872, allocations: 23.98 kB / 0.8624 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.5879, allocations: 71.92 kB / 0.8625 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5881, allocations: 76.89 kB / 0.8625 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.5881, allocations: 39.97 kB / 0.8626 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005454/0.5887, allocations: 463 kB / 0.863 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5887, allocations: 0 / 0.863 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007956/0.5895, allocations: 323.3 kB / 0.8633 GB, free: 3.391 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001349/0.5909, allocations: 0.6228 MB / 0.8639 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.5928, allocations: 0.9056 MB / 0.8648 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5928, allocations: 0 / 0.8648 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5938, allocations: 0.5509 MB / 0.8653 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5949, allocations: 296.9 kB / 0.8656 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.5985, allocations: 1.751 MB / 0.8673 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.599, allocations: 1.016 MB / 0.8683 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000774/0.5998, allocations: 278.8 kB / 0.8686 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.6001, allocations: 115.4 kB / 0.8687 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6001, allocations: 3.938 kB / 0.8687 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.02412/0.6243, allocations: 15.6 MB / 0.884 GB, free: 14.58 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)