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.006338/0.006338, allocations: 94.06 kB / 15.73 MB, free: 6.051 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.001557/0.001557, allocations: 195.2 kB / 16.68 MB, free: 5.973 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 275.1 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9843/0.9843, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005423/0.1547, allocations: 4.428 MB / 0.7707 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4625/0.6173, allocations: 150.6 MB / 0.9177 GB, free: 7.559 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.618, allocations: 19.88 kB / 0.9177 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.6186, allocations: 176.5 kB / 0.9179 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.6202, allocations: 0.5004 MB / 0.9184 GB, free: 6.879 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.622, allocations: 0.8301 MB / 0.9192 GB, free: 6.074 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.6232, allocations: 1.343 MB / 0.9205 GB, free: 4.727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/0.624, allocations: 0.5603 MB / 0.9211 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.6245, allocations: 470.4 kB / 0.9215 GB, free: 3.691 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.6251, allocations: 493.9 kB / 0.922 GB, free: 3.207 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.6252, allocations: 108 kB / 0.9221 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.6266, allocations: 0.8777 MB / 0.9229 GB, free: 2.223 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.6268, allocations: 287.1 kB / 0.9232 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.6273, allocations: 0.5246 MB / 0.9237 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.6292, allocations: 1.785 MB / 0.9255 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6292, allocations: 0 / 0.9255 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6292, allocations: 0 / 0.9255 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.6292, allocations: 0 / 0.9255 GB, free: 15.63 MB / 0.6856 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.002376/0.6316, allocations: 1.491 MB / 0.9269 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.6317, allocations: 8.031 kB / 0.9269 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.6328, allocations: 216 kB / 0.9271 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.6339, allocations: 0.7634 MB / 0.9279 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.6339, allocations: 58 kB / 0.9279 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.634, allocations: 72 kB / 0.928 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.6356, allocations: 0.8918 MB / 0.9289 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6357, allocations: 5.781 kB / 0.9289 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.6358, allocations: 35.98 kB / 0.9289 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.6358, allocations: 16 kB / 0.9289 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.6377, allocations: 1.128 MB / 0.93 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.6413, allocations: 2.48 MB / 0.9325 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6429, allocations: 0.8397 MB / 0.9333 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.6436, allocations: 335.5 kB / 0.9336 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.6437, allocations: 32.61 kB / 0.9336 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.6447, allocations: 0.5303 MB / 0.9342 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.6447, allocations: 0 / 0.9342 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.00349/0.6482, allocations: 1.292 MB / 0.9354 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.6483, allocations: 188.6 kB / 0.9356 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.6491, allocations: 0.645 MB / 0.9362 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.6492, allocations: 41.7 kB / 0.9363 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6494, allocations: 381.2 kB / 0.9366 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.6496, allocations: 277.6 kB / 0.9369 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.6499, allocations: 174.5 kB / 0.9371 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6501, allocations: 390.7 kB / 0.9374 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.6507, allocations: 293.8 kB / 0.9377 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.6516, allocations: 415.4 kB / 0.9381 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.653, allocations: 0.6627 MB / 0.9388 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.653, allocations: 0 / 0.9388 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002221/0.6552, allocations: 0.9311 MB / 0.9397 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6552, allocations: 4 kB / 0.9397 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6552, allocations: 0 / 0.9397 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/0.6558, allocations: 84.91 kB / 0.9397 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.6566, allocations: 175.8 kB / 0.9399 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.6586, allocations: 1.659 MB / 0.9415 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.6594, allocations: 99.52 kB / 0.9416 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.6595, allocations: 38.7 kB / 0.9417 GB, free: 14.54 MB / 0.7012 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.0004326/0.6599, allocations: 271.9 kB / 0.9419 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6601, allocations: 91.38 kB / 0.942 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.6629, allocations: 1.194 MB / 0.9432 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6629, allocations: 8 kB / 0.9432 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6629, allocations: 4 kB / 0.9432 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6629, allocations: 3.984 kB / 0.9432 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.6641, allocations: 0.9191 MB / 0.9441 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6641, allocations: 7.75 kB / 0.9441 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.6648, allocations: 159.8 kB / 0.9443 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.6652, allocations: 72.73 kB / 0.9443 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.6653, allocations: 31.97 kB / 0.9444 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.6672, allocations: 1.678 MB / 0.946 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6672, allocations: 64 / 0.946 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.6693, allocations: 1.01 MB / 0.947 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.6697, allocations: 284.2 kB / 0.9472 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.6699, allocations: 20 kB / 0.9473 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/0.6705, allocations: 71.92 kB / 0.9473 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.6707, allocations: 72.89 kB / 0.9474 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.6708, allocations: 39.97 kB / 0.9474 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005678/0.6714, allocations: 459 kB / 0.9479 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6714, allocations: 4 kB / 0.9479 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008564/0.6722, allocations: 331.2 kB / 0.9482 GB, free: 7.598 MB / 0.7012 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.00143/0.6737, allocations: 0.6326 MB / 0.9488 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.6757, allocations: 0.9055 MB / 0.9497 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6757, allocations: 0 / 0.9497 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6767, allocations: 0.5627 MB / 0.9503 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6779, allocations: 299.7 kB / 0.9505 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.6817, allocations: 1.776 MB / 0.9523 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.6823, allocations: 1.016 MB / 0.9533 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.6831, allocations: 278.8 kB / 0.9535 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.6834, allocations: 111.4 kB / 0.9536 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/0.6834, allocations: 0 / 0.9536 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of Templates: time 0.0255/0.7089, allocations: 15.77 MB / 0.969 GB, free: 2.562 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)