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.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001856/0.001856, allocations: 191.1 kB / 16.14 MB, free: 6.715 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 278.2 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 95.23 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.188, allocations: 89.14 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006568/0.1946, allocations: 4.704 MB / 0.6974 GB, free: 148 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.468/0.6626, allocations: 148.3 MB / 0.8422 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000866/0.6635, allocations: 15.91 kB / 0.8422 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.6641, allocations: 149.6 kB / 0.8423 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.6659, allocations: 454.1 kB / 0.8428 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.6678, allocations: 0.7288 MB / 0.8435 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.6696, allocations: 1.29 MB / 0.8447 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.6705, allocations: 0.5213 MB / 0.8452 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.6712, allocations: 408.1 kB / 0.8456 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.6719, allocations: 462.1 kB / 0.8461 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.672, allocations: 49.06 kB / 0.8461 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.6736, allocations: 0.7861 MB / 0.8469 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.6739, allocations: 220.7 kB / 0.8471 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.6744, allocations: 490.5 kB / 0.8476 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.6764, allocations: 1.695 MB / 0.8492 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6765, allocations: 4 kB / 0.8492 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6765, allocations: 0 / 0.8492 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.6765, allocations: 0 / 0.8492 GB, free: 5.039 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002882/0.6794, allocations: 1.46 MB / 0.8506 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6794, allocations: 10.41 kB / 0.8507 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.6806, allocations: 200.1 kB / 0.8508 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.6818, allocations: 0.7351 MB / 0.8516 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.6818, allocations: 65.27 kB / 0.8516 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.6819, allocations: 72.97 kB / 0.8517 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6837, allocations: 0.8978 MB / 0.8526 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.6837, allocations: 1.125 kB / 0.8526 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.6838, allocations: 32.44 kB / 0.8526 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6838, allocations: 18.16 kB / 0.8526 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.6859, allocations: 1.128 MB / 0.8537 GB, free: 1.973 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.6902, allocations: 2.607 MB / 0.8563 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.6919, allocations: 0.8328 MB / 0.8571 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.6926, allocations: 332.3 kB / 0.8574 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.109e-05/0.6927, allocations: 35.11 kB / 0.8574 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.6939, allocations: 0.5336 MB / 0.8579 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.6939, allocations: 0 / 0.8579 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00382/0.6977, allocations: 1.284 MB / 0.8592 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.6979, allocations: 190.5 kB / 0.8594 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.6987, allocations: 0.6463 MB / 0.86 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.6988, allocations: 42.67 kB / 0.8601 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.6992, allocations: 387.2 kB / 0.8604 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.6995, allocations: 263.9 kB / 0.8607 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.6998, allocations: 173 kB / 0.8608 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7, allocations: 390.5 kB / 0.8612 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/0.7008, allocations: 302.3 kB / 0.8615 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.7016, allocations: 399.2 kB / 0.8619 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.7031, allocations: 0.6737 MB / 0.8625 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7032, allocations: 0 / 0.8625 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002527/0.7057, allocations: 0.9192 MB / 0.8634 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.7057, allocations: 9.281 kB / 0.8634 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7058, allocations: 4.125 kB / 0.8635 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.7064, allocations: 78.16 kB / 0.8635 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.7073, allocations: 179.8 kB / 0.8637 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.7097, allocations: 1.537 MB / 0.8652 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/0.7106, allocations: 102.6 kB / 0.8653 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.7107, allocations: 42.06 kB / 0.8653 GB, free: 9.68 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: 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.0004905/0.7112, allocations: 260.2 kB / 0.8656 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.7114, allocations: 89.52 kB / 0.8657 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.7145, allocations: 1.21 MB / 0.8669 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7145, allocations: 10.34 kB / 0.8669 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.7146, allocations: 0 / 0.8669 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.7146, allocations: 3.984 kB / 0.8669 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.7158, allocations: 0.913 MB / 0.8678 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7158, allocations: 6.625 kB / 0.8678 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.7165, allocations: 164.3 kB / 0.8679 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005686/0.7171, allocations: 83.8 kB / 0.868 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.7172, allocations: 25.7 kB / 0.868 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.7194, allocations: 1.556 MB / 0.8695 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7194, allocations: 0 / 0.8695 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.7219, allocations: 1.006 MB / 0.8705 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.7224, allocations: 287.7 kB / 0.8708 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.7226, allocations: 23.88 kB / 0.8708 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.7233, allocations: 74.02 kB / 0.8709 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.7235, allocations: 84.88 kB / 0.871 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.7236, allocations: 31.98 kB / 0.871 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006865/0.7243, allocations: 467 kB / 0.8715 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7243, allocations: 0 / 0.8715 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009917/0.7253, allocations: 319.5 kB / 0.8718 GB, free: 4.059 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: 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.002062/0.7274, allocations: 0.6224 MB / 0.8724 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.7296, allocations: 0.9019 MB / 0.8732 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7297, allocations: 4.25 kB / 0.8732 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.7309, allocations: 0.5432 MB / 0.8738 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7322, allocations: 285.8 kB / 0.8741 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.7358, allocations: 2.058 MB / 0.8761 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.7366, allocations: 1.009 MB / 0.877 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00099/0.7376, allocations: 282.7 kB / 0.8773 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.7379, allocations: 111.4 kB / 0.8774 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.7379, allocations: 0 / 0.8774 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.03044/0.7683, allocations: 15.19 MB / 0.8923 GB, free: 15.36 MB / 0.6231 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)