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.001348/0.001348, allocations: 100.4 kB / 16.39 MB, free: 6.383 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.00135/0.00135, allocations: 193 kB / 17.33 MB, free: 5.844 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.457/1.457, 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.002517/0.002517, allocations: 294.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 107.8 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5023, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006976/0.5092, allocations: 4.432 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.6973, allocations: 151 MB / 0.9188 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000814/0.6982, allocations: 15.94 kB / 0.9188 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.6987, allocations: 174.3 kB / 0.919 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.7003, allocations: 0.5175 MB / 0.9195 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.7022, allocations: 0.8305 MB / 0.9203 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.7037, allocations: 1.347 MB / 0.9216 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.7044, allocations: 411.9 kB / 0.922 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.705, allocations: 470.4 kB / 0.9225 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.7056, allocations: 0.49 MB / 0.9229 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.7058, allocations: 112 kB / 0.923 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.7073, allocations: 0.8622 MB / 0.9239 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.7076, allocations: 283.1 kB / 0.9242 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.7081, allocations: 0.5245 MB / 0.9247 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.7104, allocations: 1.784 MB / 0.9264 GB, free: 88 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7104, allocations: 0 / 0.9264 GB, free: 88 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7104, allocations: 0 / 0.9264 GB, free: 88 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.7104, allocations: 0 / 0.9264 GB, free: 88 kB / 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.002775/0.7132, allocations: 1.487 MB / 0.9279 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7132, allocations: 8.031 kB / 0.9279 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7144, allocations: 216 kB / 0.9281 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7157, allocations: 0.767 MB / 0.9288 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.7158, allocations: 65.92 kB / 0.9289 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.7159, allocations: 72 kB / 0.929 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.7175, allocations: 0.888 MB / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.7176, allocations: 0 / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.7176, allocations: 32 kB / 0.9299 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.7177, allocations: 20 kB / 0.9299 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.7197, allocations: 1.128 MB / 0.931 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.7238, allocations: 2.481 MB / 0.9334 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.7255, allocations: 0.7803 MB / 0.9342 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.7262, allocations: 314.6 kB / 0.9345 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.7263, allocations: 28.61 kB / 0.9345 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.7274, allocations: 0.538 MB / 0.935 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 4.468e-06/0.7274, allocations: 4 kB / 0.935 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003729/0.7311, allocations: 1.288 MB / 0.9363 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.7312, allocations: 196.5 kB / 0.9365 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.7321, allocations: 0.6411 MB / 0.9371 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.7322, allocations: 41.7 kB / 0.9371 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.7325, allocations: 377.2 kB / 0.9375 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.7328, allocations: 285.6 kB / 0.9378 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.733, allocations: 174.5 kB / 0.9379 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.7333, allocations: 390.7 kB / 0.9383 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.734, allocations: 297.8 kB / 0.9386 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/0.7348, allocations: 403.9 kB / 0.939 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.7363, allocations: 0.6627 MB / 0.9396 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7363, allocations: 4 kB / 0.9396 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002414/0.7387, allocations: 0.9194 MB / 0.9405 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7387, allocations: 8.125 kB / 0.9405 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7387, allocations: 0 / 0.9405 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.7394, allocations: 88.77 kB / 0.9406 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.7401, allocations: 179.7 kB / 0.9408 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.7424, allocations: 1.645 MB / 0.9424 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.7431, allocations: 109.8 kB / 0.9425 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.7432, allocations: 35.97 kB / 0.9425 GB, free: 15.05 MB / 0.7169 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.0004289/0.7436, allocations: 274.3 kB / 0.9428 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.7438, allocations: 91.48 kB / 0.9429 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.7467, allocations: 1.198 MB / 0.944 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.7468, allocations: 8 kB / 0.9441 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7468, allocations: 0 / 0.9441 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.7468, allocations: 11.92 kB / 0.9441 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.748, allocations: 0.9115 MB / 0.945 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.748, allocations: 0 / 0.945 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.7487, allocations: 159.8 kB / 0.9451 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/0.7491, allocations: 72.78 kB / 0.9452 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.7492, allocations: 27.92 kB / 0.9452 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.7514, allocations: 1.678 MB / 0.9468 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7514, allocations: 0 / 0.9468 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.7538, allocations: 1.01 MB / 0.9478 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.7542, allocations: 284.2 kB / 0.9481 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7544, allocations: 19.98 kB / 0.9481 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.755, allocations: 71.92 kB / 0.9482 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.7552, allocations: 76.89 kB / 0.9483 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.869e-05/0.7553, allocations: 39.97 kB / 0.9483 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006137/0.7559, allocations: 463 kB / 0.9487 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7559, allocations: 0 / 0.9487 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009092/0.7568, allocations: 335 kB / 0.9491 GB, free: 8.102 MB / 0.7169 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.001936/0.7588, allocations: 0.6266 MB / 0.9497 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.7608, allocations: 0.8704 MB / 0.9505 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7608, allocations: 0 / 0.9505 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.7619, allocations: 0.5236 MB / 0.951 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7631, allocations: 291.1 kB / 0.9513 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.7674, allocations: 1.784 MB / 0.9531 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.7681, allocations: 1.02 MB / 0.954 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009164/0.769, allocations: 278.8 kB / 0.9543 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.7693, allocations: 111.4 kB / 0.9544 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.7693, allocations: 3.938 kB / 0.9544 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.4158/1.185, allocations: 15.82 MB / 0.9699 GB, free: 183.4 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)