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.0009909/0.0009909, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 185.4 kB / 16.92 MB, free: 6.773 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.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.109 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7598/0.7598, allocations: 115.5 MB / 407.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 495.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 77.51 MB / 0.5599 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5477/0.7104, allocations: 172.1 MB / 0.728 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.7313, allocations: 12.68 MB / 0.7404 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.7338, allocations: 27.81 kB / 0.7404 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.7358, allocations: 381.5 kB / 0.7408 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.7402, allocations: 0.9218 MB / 0.7417 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.7454, allocations: 1.669 MB / 0.7433 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.7495, allocations: 2.871 MB / 0.7461 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.752, allocations: 1.359 MB / 0.7475 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004986/0.757, allocations: 1.164 MB / 0.7486 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.7585, allocations: 0.7347 MB / 0.7493 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.7589, allocations: 47.94 kB / 0.7494 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.7625, allocations: 1.419 MB / 0.7507 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.7632, allocations: 334.6 kB / 0.7511 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.7645, allocations: 0.7397 MB / 0.7518 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.7697, allocations: 2.659 MB / 0.7544 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7697, allocations: 0 / 0.7544 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.093e-06/0.7697, allocations: 0 / 0.7544 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000112/0.7699, allocations: 4 kB / 0.7544 GB, free: 15.5 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004804/0.7747, allocations: 1.705 MB / 0.7561 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.7747, allocations: 11.97 kB / 0.7561 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.778, allocations: 413.6 kB / 0.7565 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.7805, allocations: 0.9916 MB / 0.7574 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.7806, allocations: 102.7 kB / 0.7575 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.7809, allocations: 135.9 kB / 0.7577 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/0.7847, allocations: 1.53 MB / 0.7591 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.7848, allocations: 4 kB / 0.7592 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.7851, allocations: 56 kB / 0.7592 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.7851, allocations: 36 kB / 0.7592 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.7884, allocations: 1.591 MB / 0.7608 GB, free: 8.75 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.009268/0.7977, allocations: 5.361 MB / 0.766 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.8007, allocations: 1.516 MB / 0.7675 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009311/0.8016, allocations: 487.6 kB / 0.768 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/0.8025, allocations: 440.1 kB / 0.7684 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.8041, allocations: 0.6957 MB / 0.7691 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 4.328e-06/0.8041, allocations: 0 / 0.7691 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.005277/0.8094, allocations: 1.692 MB / 0.7707 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.8096, allocations: 196.8 kB / 0.7709 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.8112, allocations: 0.8921 MB / 0.7718 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.8114, allocations: 49.7 kB / 0.7718 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.812, allocations: 0.5896 MB / 0.7724 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.8124, allocations: 354.9 kB / 0.7727 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.8125, allocations: 89.67 kB / 0.7728 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8127, allocations: 341.9 kB / 0.7732 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009118/0.8136, allocations: 410.4 kB / 0.7735 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.8147, allocations: 0.5746 MB / 0.7741 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.8165, allocations: 0.9605 MB / 0.775 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.8165, allocations: 4 kB / 0.775 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00288/0.8194, allocations: 1.235 MB / 0.7763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.8195, allocations: 11.94 kB / 0.7763 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.8195, allocations: 4 kB / 0.7763 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.8201, allocations: 89.17 kB / 0.7764 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8213, allocations: 251.7 kB / 0.7766 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.8234, allocations: 1.555 MB / 0.7781 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.8247, allocations: 170.9 kB / 0.7783 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.8248, allocations: 47.97 kB / 0.7783 GB, free: 5.938 MB / 0.5919 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.0007339/0.8256, allocations: 339.3 kB / 0.7786 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.8259, allocations: 122.5 kB / 0.7788 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.8292, allocations: 1.441 MB / 0.7802 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.8292, allocations: 12 kB / 0.7802 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8293, allocations: 3.938 kB / 0.7802 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.8293, allocations: 7.969 kB / 0.7802 GB, free: 4 MB / 0.5919 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.005366/0.8346, allocations: 2.885 MB / 0.783 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.8347, allocations: 0 / 0.783 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.8357, allocations: 227.7 kB / 0.7832 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.8362, allocations: 88.75 kB / 0.7833 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/0.8363, allocations: 31.98 kB / 0.7833 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.8382, allocations: 1.555 MB / 0.7849 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8382, allocations: 0 / 0.7849 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.8412, allocations: 1.343 MB / 0.7862 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008458/0.842, allocations: 375.1 kB / 0.7865 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.8423, allocations: 20 kB / 0.7866 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.8436, allocations: 125.3 kB / 0.7867 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.8438, allocations: 84.88 kB / 0.7868 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.844, allocations: 47.97 kB / 0.7868 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001065/0.8451, allocations: 0.6189 MB / 0.7874 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8451, allocations: 0 / 0.7874 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001586/0.8467, allocations: 498.8 kB / 0.7879 GB, free: 11.85 MB / 0.6075 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.002021/0.8487, allocations: 0.7268 MB / 0.7886 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.8513, allocations: 1.156 MB / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8513, allocations: 0 / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.8527, allocations: 0.6875 MB / 0.7904 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.8558, allocations: 0.4891 MB / 0.7909 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.8615, allocations: 2.977 MB / 0.7938 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.8626, allocations: 1.221 MB / 0.795 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001948/0.8645, allocations: 385.9 kB / 0.7953 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.8651, allocations: 139.4 kB / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.8651, allocations: 0 / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.04265/0.9077, allocations: 23.39 MB / 0.8183 GB, free: 13.13 MB / 0.6387 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)