Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003898/0.003897, allocations: 355.3 kB / 16.59 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.491/1.491, allocations: 165.8 MB / 183.1 MB, free: 5.41 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.965/3.965, allocations: 410.7 MB / 0.6001 GB, free: 15.33 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002638/0.002638, allocations: 196 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 8 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6839/1.087, allocations: 158.3 MB / 0.9633 GB, free: 1.379 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01924/1.106, allocations: 11.16 MB / 0.9742 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/1.108, allocations: 29.22 kB / 0.9742 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/1.109, allocations: 244.3 kB / 0.9745 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/1.113, allocations: 0.7672 MB / 0.9752 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/1.118, allocations: 1.173 MB / 0.9764 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003937/1.122, allocations: 2.323 MB / 0.9786 GB, free: 328 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/1.124, allocations: 1.144 MB / 0.9798 GB, free: 152 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/1.128, allocations: 1.087 MB / 0.9808 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/1.129, allocations: 0.6331 MB / 0.9814 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002607/1.13, allocations: 40.75 kB / 0.9815 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/1.132, allocations: 0.6721 MB / 0.9821 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/1.133, allocations: 313.7 kB / 0.9824 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/1.133, allocations: 280.7 kB / 0.9827 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003341/1.136, allocations: 1.706 MB / 0.9844 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.137, allocations: 0 / 0.9844 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.137, allocations: 0 / 0.9844 GB, free: 14.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.134e-05/1.137, allocations: 1.859 kB / 0.9844 GB, free: 14.54 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004414/1.141, allocations: 1.551 MB / 0.9859 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.141, allocations: 8.625 kB / 0.9859 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/1.145, allocations: 418 kB / 0.9863 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/1.148, allocations: 0.9079 MB / 0.9872 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1.148, allocations: 107.7 kB / 0.9873 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/1.149, allocations: 121.6 kB / 0.9874 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/1.153, allocations: 1.434 MB / 0.9888 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/1.153, allocations: 5.688 kB / 0.9888 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/1.153, allocations: 56.66 kB / 0.9889 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/1.153, allocations: 34.61 kB / 0.9889 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/1.157, allocations: 1.52 MB / 0.9904 GB, free: 11.89 MB / 490.7 MB 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.01125/1.169, allocations: 4.909 MB / 0.9952 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/1.173, allocations: 1.421 MB / 0.9966 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/1.174, allocations: 455.8 kB / 0.997 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.175, allocations: 438 kB / 0.9974 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/1.177, allocations: 0.6193 MB / 0.998 GB, free: 7.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.609e-06/1.177, allocations: 2.406 kB / 0.998 GB, free: 7.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.00661/1.184, allocations: 1.542 MB / 0.9995 GB, free: 7.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.184, allocations: 194.4 kB / 0.9997 GB, free: 6.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/1.187, allocations: 0.8219 MB / 1.001 GB, free: 6.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003672/1.187, allocations: 44.02 kB / 1.001 GB, free: 6.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008591/1.188, allocations: 0.5627 MB / 1.001 GB, free: 6.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/1.188, allocations: 329 kB / 1.001 GB, free: 6.012 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.189, allocations: 18.75 kB / 1.001 GB, free: 6.012 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/1.189, allocations: 343.7 kB / 1.002 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.191, allocations: 364 kB / 1.002 GB, free: 5.641 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/1.193, allocations: 0.5366 MB / 1.003 GB, free: 5.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.196, allocations: 431.6 kB / 1.003 GB, free: 5.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.196, allocations: 0 / 1.003 GB, free: 5.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007052/1.203, allocations: 1.153 MB / 1.004 GB, free: 5.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/1.203, allocations: 10.23 kB / 1.004 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.203, allocations: 6.844 kB / 1.004 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/1.204, allocations: 87.69 kB / 1.004 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.208, allocations: 241.8 kB / 1.004 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/1.212, allocations: 1.541 MB / 1.006 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/1.215, allocations: 144 kB / 1.006 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/1.215, allocations: 45.59 kB / 1.006 GB, free: 3.539 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001395/1.217, allocations: 337.6 kB / 1.007 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/1.217, allocations: 110.9 kB / 1.007 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/1.225, allocations: 1.345 MB / 1.008 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-05/1.225, allocations: 6.422 kB / 1.008 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.225, allocations: 0 / 1.008 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.226, allocations: 353.2 kB / 1.008 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/1.227, allocations: 18.94 kB / 1.008 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/1.23, allocations: 103.1 kB / 1.008 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/1.23, allocations: 72.98 kB / 1.008 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007169/1.237, allocations: 1.206 MB / 1.01 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007904/1.245, allocations: 1.797 MB / 1.011 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002295/1.247, allocations: 474.1 kB / 1.012 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0021/1.25, allocations: 0.5605 MB / 1.012 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of Backend: time 1.783e-06/1.25, allocations: 0 / 1.012 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009258/1.259, allocations: 1.477 MB / 1.014 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of SimCode: time 0.01117/1.27, allocations: 3.197 MB / 1.017 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.09098/1.361, allocations: 22.87 MB / 1.039 GB, free: 5.785 MB / 0.5105 GB