Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.6 kB / 16.41 MB, free: 6.48 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.001206/0.001207, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6949/0.6949, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 70.72 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.134, allocations: 76.19 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.489/0.623, allocations: 176.8 MB / 0.8047 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.6369, allocations: 12.82 MB / 0.8172 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6382, allocations: 31.31 kB / 0.8172 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.6395, allocations: 468.4 kB / 0.8177 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.6422, allocations: 1.03 MB / 0.8187 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.6464, allocations: 1.883 MB / 0.8205 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.6489, allocations: 2.534 MB / 0.823 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.6506, allocations: 1.593 MB / 0.8246 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.6537, allocations: 1.436 MB / 0.826 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000879/0.6546, allocations: 0.8838 MB / 0.8268 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.6548, allocations: 172.2 kB / 0.827 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.6571, allocations: 1.424 MB / 0.8284 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.6575, allocations: 495.4 kB / 0.8288 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.6582, allocations: 0.8718 MB / 0.8297 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.6612, allocations: 2.8 MB / 0.8324 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6612, allocations: 3.938 kB / 0.8324 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6612, allocations: 0 / 0.8324 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.6612, allocations: 0 / 0.8324 GB, free: 1.375 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003069/0.6643, allocations: 2.025 MB / 0.8344 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.6643, allocations: 10.22 kB / 0.8344 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.6668, allocations: 410 kB / 0.8348 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6682, allocations: 1.031 MB / 0.8358 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.6683, allocations: 109.8 kB / 0.8359 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.6684, allocations: 128.4 kB / 0.836 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.6707, allocations: 1.519 MB / 0.8375 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6708, allocations: 7.188 kB / 0.8375 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6709, allocations: 56.38 kB / 0.8376 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.6709, allocations: 35.28 kB / 0.8376 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.6734, allocations: 1.587 MB / 0.8392 GB, free: 13 MB / 0.6075 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.006484/0.6799, allocations: 5.287 MB / 0.8443 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.6823, allocations: 1.527 MB / 0.8458 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.6832, allocations: 488.6 kB / 0.8463 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.6839, allocations: 428.6 kB / 0.8467 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.6851, allocations: 0.698 MB / 0.8474 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.6851, allocations: 0 / 0.8474 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004151/0.6893, allocations: 1.664 MB / 0.849 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.6894, allocations: 196.9 kB / 0.8492 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6907, allocations: 0.892 MB / 0.8501 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.6908, allocations: 49.7 kB / 0.8501 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.6914, allocations: 0.5975 MB / 0.8507 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.6918, allocations: 357.1 kB / 0.851 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.6921, allocations: 214.8 kB / 0.8512 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6923, allocations: 349.9 kB / 0.8516 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.6931, allocations: 394.4 kB / 0.852 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.6941, allocations: 0.5707 MB / 0.8525 GB, free: 412 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.6959, allocations: 0.9566 MB / 0.8534 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6959, allocations: 0 / 0.8534 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002565/0.6985, allocations: 1.235 MB / 0.8547 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6985, allocations: 7.938 kB / 0.8547 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6985, allocations: 7.938 kB / 0.8547 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.6991, allocations: 92.8 kB / 0.8548 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7002, allocations: 251.7 kB / 0.855 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.7023, allocations: 1.65 MB / 0.8566 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7033, allocations: 134.8 kB / 0.8567 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7034, allocations: 55.91 kB / 0.8568 GB, free: 11.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.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 (131): * Single equations (assignments): 130 * 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.0005768/0.704, allocations: 343.3 kB / 0.8571 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.7042, allocations: 122.5 kB / 0.8572 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.7074, allocations: 1.424 MB / 0.8586 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.7074, allocations: 12 kB / 0.8586 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7074, allocations: 3.938 kB / 0.8586 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7074, allocations: 7.969 kB / 0.8586 GB, free: 9.895 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.004655/0.7121, allocations: 2.873 MB / 0.8615 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.7121, allocations: 3.984 kB / 0.8615 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.7131, allocations: 219.7 kB / 0.8617 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.7135, allocations: 76.78 kB / 0.8617 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.939e-05/0.7136, allocations: 35.97 kB / 0.8618 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.7154, allocations: 1.67 MB / 0.8634 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7155, allocations: 0 / 0.8634 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.718, allocations: 1.322 MB / 0.8647 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.7186, allocations: 355.2 kB / 0.865 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.7188, allocations: 27.98 kB / 0.8651 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.7197, allocations: 79.3 kB / 0.8651 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.7199, allocations: 88.81 kB / 0.8652 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.72, allocations: 59.91 kB / 0.8653 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008135/0.7209, allocations: 0.615 MB / 0.8659 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7209, allocations: 0 / 0.8659 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001245/0.7221, allocations: 498.9 kB / 0.8664 GB, free: 1.742 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * 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.00162/0.7238, allocations: 0.7015 MB / 0.867 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.726, allocations: 1.152 MB / 0.8682 GB, free: 84 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.726, allocations: 4 kB / 0.8682 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7273, allocations: 0.6719 MB / 0.8688 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.7295, allocations: 0.5338 MB / 0.8693 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.7335, allocations: 2.328 MB / 0.8716 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.7343, allocations: 1.209 MB / 0.8728 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001234/0.7356, allocations: 386 kB / 0.8732 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.736, allocations: 143.4 kB / 0.8733 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.736, allocations: 0 / 0.8733 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.03971/0.7757, allocations: 24.72 MB / 0.8975 GB, free: 2.355 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)