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.001097/0.001097, allocations: 88.67 kB / 16.67 MB, free: 6.598 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.001209/0.001209, allocations: 183.8 kB / 17.58 MB, free: 6.188 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.418/1.418, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003775, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4178, allocations: 77.52 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1964/0.6142, allocations: 172.1 MB / 0.7287 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.6319, allocations: 12.66 MB / 0.7411 GB, free: 9.984 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.6335, allocations: 27.81 kB / 0.7411 GB, free: 9.957 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.6348, allocations: 385.5 kB / 0.7415 GB, free: 9.578 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.6382, allocations: 0.9262 MB / 0.7424 GB, free: 8.652 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.6435, allocations: 1.665 MB / 0.744 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.00369/0.6472, allocations: 2.864 MB / 0.7468 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.6498, allocations: 1.37 MB / 0.7481 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.6551, allocations: 1.156 MB / 0.7492 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.6565, allocations: 0.7463 MB / 0.75 GB, free: 0.8164 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.6569, allocations: 44 kB / 0.75 GB, free: 0.7734 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3716/1.028, allocations: 1.408 MB / 0.7514 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0008661/1.029, allocations: 334.5 kB / 0.7517 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/1.031, allocations: 0.7355 MB / 0.7524 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.004063/1.035, allocations: 2.014 MB / 0.7544 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.035, allocations: 0 / 0.7544 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.645e-06/1.035, allocations: 0.6875 kB / 0.7544 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.601e-05/1.035, allocations: 0 / 0.7544 GB, free: 5.621 MB / 0.5763 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.00456/1.039, allocations: 1.702 MB / 0.7561 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.04, allocations: 13.62 kB / 0.7561 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/1.043, allocations: 416.4 kB / 0.7565 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/1.045, allocations: 0.9885 MB / 0.7574 GB, free: 4.227 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.045, allocations: 100.5 kB / 0.7575 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/1.045, allocations: 132.5 kB / 0.7577 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/1.049, allocations: 1.531 MB / 0.7592 GB, free: 3.992 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.049, allocations: 2.906 kB / 0.7592 GB, free: 3.992 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.049, allocations: 60.33 kB / 0.7592 GB, free: 3.992 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/1.049, allocations: 32.88 kB / 0.7592 GB, free: 3.992 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003619/1.053, allocations: 1.59 MB / 0.7608 GB, free: 3.973 MB / 0.5763 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.009179/1.062, allocations: 5.356 MB / 0.766 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/1.065, allocations: 1.525 MB / 0.7675 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/1.066, allocations: 487.1 kB / 0.768 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008471/1.067, allocations: 442.3 kB / 0.7684 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/1.068, allocations: 0.6984 MB / 0.7691 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/1.068, allocations: 0 / 0.7691 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004683/1.073, allocations: 1.679 MB / 0.7707 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.073, allocations: 198.7 kB / 0.7709 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.074, allocations: 0.8901 MB / 0.7718 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/1.075, allocations: 55.3 kB / 0.7718 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/1.075, allocations: 0.5904 MB / 0.7724 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.075, allocations: 352.2 kB / 0.7727 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.076, allocations: 94.66 kB / 0.7728 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.076, allocations: 342.4 kB / 0.7732 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/1.077, allocations: 403.7 kB / 0.7735 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/1.078, allocations: 0.5747 MB / 0.7741 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/1.079, allocations: 0.9632 MB / 0.7751 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.079, allocations: 4.719 kB / 0.7751 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004381/1.084, allocations: 1.244 MB / 0.7763 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.084, allocations: 8.547 kB / 0.7763 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.084, allocations: 3.688 kB / 0.7763 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.085, allocations: 90.05 kB / 0.7764 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/1.087, allocations: 258.6 kB / 0.7766 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/1.091, allocations: 1.551 MB / 0.7781 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/1.093, allocations: 164 kB / 0.7783 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/1.094, allocations: 49.88 kB / 0.7783 GB, free: 13.33 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.001679/1.095, allocations: 346 kB / 0.7787 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/1.096, allocations: 117.8 kB / 0.7788 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006543/1.103, allocations: 1.445 MB / 0.7802 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/1.103, allocations: 15.56 kB / 0.7802 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.103, allocations: 0 / 0.7802 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/1.103, allocations: 8.016 kB / 0.7802 GB, free: 13.02 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.009583/1.112, allocations: 2.884 MB / 0.783 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.112, allocations: 2.906 kB / 0.783 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.114, allocations: 221.2 kB / 0.7832 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008748/1.115, allocations: 84.62 kB / 0.7833 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/1.115, allocations: 29.69 kB / 0.7833 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/1.118, allocations: 1.576 MB / 0.7849 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.118, allocations: 0 / 0.7849 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/1.123, allocations: 1.324 MB / 0.7862 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.125, allocations: 377 kB / 0.7865 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/1.125, allocations: 22.53 kB / 0.7866 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.128, allocations: 128.6 kB / 0.7867 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.128, allocations: 87.59 kB / 0.7868 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/1.128, allocations: 52.27 kB / 0.7868 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001884/1.13, allocations: 0.6161 MB / 0.7874 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.71e-07/1.13, allocations: 0 / 0.7874 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002806/1.133, allocations: 498.7 kB / 0.7879 GB, free: 10.57 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,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.003164/1.136, allocations: 0.7174 MB / 0.7886 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004339/1.141, allocations: 1.152 MB / 0.7897 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.141, allocations: 0 / 0.7897 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/1.143, allocations: 0.6787 MB / 0.7904 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/1.148, allocations: 0.4983 MB / 0.7909 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/1.156, allocations: 3.035 MB / 0.7938 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.158, allocations: 1.207 MB / 0.795 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.159, allocations: 157 kB / 0.7952 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of SimCode: time 1.723e-06/1.159, allocations: 0 / 0.7952 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.07071/1.23, allocations: 28.2 MB / 0.8227 GB, free: 11.02 MB / 0.6075 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)