Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001334/0.001334, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 283.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9421/0.9421, allocations: 169.2 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3935, allocations: 86.96 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.04476/0.4383, allocations: 46.85 MB / 0.8128 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.455, allocations: 12.72 MB / 0.8252 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.4568, allocations: 71.56 kB / 0.8253 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.4588, allocations: 0.788 MB / 0.8261 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.4646, allocations: 2.513 MB / 0.8285 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.4678, allocations: 1.383 MB / 0.8299 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01382/0.4816, allocations: 14.04 MB / 0.8436 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006899/0.4885, allocations: 5.784 MB / 0.8492 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/0.4965, allocations: 4.545 MB / 0.8537 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005727/0.5023, allocations: 3.926 MB / 0.8575 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.5037, allocations: 0.5352 MB / 0.858 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/0.5084, allocations: 1.915 MB / 0.8599 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.5104, allocations: 1.472 MB / 0.8613 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004358/0.5148, allocations: 2.82 MB / 0.8641 GB, free: 200 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008972/0.5238, allocations: 8.346 MB / 0.8722 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5238, allocations: 0 / 0.8722 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5238, allocations: 0 / 0.8722 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.586e-05/0.5239, allocations: 0 / 0.8722 GB, free: 7.828 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01015/0.5341, allocations: 5.516 MB / 0.8776 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5341, allocations: 8.031 kB / 0.8776 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008876/0.543, allocations: 1.467 MB / 0.8791 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/0.5518, allocations: 4.887 MB / 0.8838 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.5521, allocations: 289.7 kB / 0.8841 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005601/0.5527, allocations: 308 kB / 0.8844 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.5596, allocations: 4.489 MB / 0.8888 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5597, allocations: 11.88 kB / 0.8888 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/0.56, allocations: 128 kB / 0.8889 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.5602, allocations: 133.5 kB / 0.889 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005865/0.566, allocations: 3.819 MB / 0.8928 GB, free: 2.426 MB / 0.6544 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.04021/0.6063, allocations: 22.05 MB / 0.9143 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.6097, allocations: 2.223 MB / 0.9165 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.6114, allocations: 1.27 MB / 0.9177 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.612, allocations: 0.535 MB / 0.9182 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.612, allocations: 59.88 kB / 0.9183 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=160): time 4.228e-06/0.612, allocations: 0 / 0.9183 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.0225/0.6345, allocations: 6.168 MB / 0.9243 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6346, allocations: 68.72 kB / 0.9244 GB, free: 496 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005344/0.64, allocations: 3.489 MB / 0.9278 GB, free: 13 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.6403, allocations: 65.7 kB / 0.9279 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.6419, allocations: 1.755 MB / 0.9296 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.6425, allocations: 0.5507 MB / 0.9301 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009405/0.6435, allocations: 499.7 kB / 0.9306 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.6436, allocations: 305.1 kB / 0.9309 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004897/0.6485, allocations: 1.751 MB / 0.9326 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/0.6541, allocations: 2.384 MB / 0.9349 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/0.6612, allocations: 3.468 MB / 0.9383 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.6613, allocations: 4 kB / 0.9383 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.03181/0.6931, allocations: 7.584 MB / 0.9457 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.6931, allocations: 12.92 kB / 0.9457 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.6932, allocations: 19.94 kB / 0.9457 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0272/0.7204, allocations: 4.461 MB / 0.9501 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.7228, allocations: 495.2 kB / 0.9506 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.7391, allocations: 6.624 MB / 0.957 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.7441, allocations: 0.5208 MB / 0.9575 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.7445, allocations: 115.9 kB / 0.9577 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006708/0.7512, allocations: 2.973 MB / 0.9606 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00523/0.7565, allocations: 2.321 MB / 0.9628 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006613/0.7631, allocations: 3.332 MB / 0.9661 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.746e-06/0.7631, allocations: 4 kB / 0.9661 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.3602/1.123, allocations: 7.362 MB / 0.9733 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.123, allocations: 11.41 kB / 0.9733 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.123, allocations: 20.03 kB / 0.9733 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02458/1.148, allocations: 4.292 MB / 0.9775 GB, free: 187.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.15, allocations: 468.7 kB / 0.9779 GB, free: 187.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.164, allocations: 5.421 MB / 0.9832 GB, free: 185.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/1.169, allocations: 0.4985 MB / 0.9837 GB, free: 185.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/1.17, allocations: 108.9 kB / 0.9838 GB, free: 185.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(3,8), (5,40), (3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006365/1.17, allocations: 316 kB / 0.9841 GB, free: 185 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.171, allocations: 330 kB / 0.9844 GB, free: 185 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.176, allocations: 3.044 MB / 0.9874 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00303/1.179, allocations: 2.49 MB / 0.9898 GB, free: 182.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.179, allocations: 0 / 0.9898 GB, free: 182.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.181, allocations: 0.7588 MB / 0.9906 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005792/1.181, allocations: 43.48 kB / 0.9906 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.183, allocations: 137.7 kB / 0.9908 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/1.184, allocations: 103.8 kB / 0.9909 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00567/1.189, allocations: 3.387 MB / 0.9942 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004479/1.194, allocations: 3.953 MB / 0.998 GB, free: 177 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001111/1.195, allocations: 1.112 MB / 0.9991 GB, free: 175.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002642/1.198, allocations: 2.44 MB / 1.001 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of Backend: time 9.72e-07/1.198, allocations: 0 / 1.001 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02108/1.219, allocations: 6.419 MB / 1.008 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0143/1.233, allocations: 9.615 MB / 1.017 GB, free: 157.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.1184/1.351, allocations: 105.1 MB / 1.12 GB, free: 53.47 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)