Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7627/0.7627, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 182.8 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.4 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 291.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 75.88 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example1v2): time 0.05967/0.3407, allocations: 80.04 MB / 0.8461 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.3648, allocations: 19.34 MB / 0.865 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.3676, allocations: 91.44 kB / 0.865 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.3705, allocations: 0.9793 MB / 0.866 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.3766, allocations: 2.567 MB / 0.8685 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004971/0.3816, allocations: 2.137 MB / 0.8706 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.5736/0.9552, allocations: 36.01 MB / 0.9058 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02146/0.9767, allocations: 15.13 MB / 0.9205 GB, free: 11.02 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01952/0.9963, allocations: 9.484 MB / 0.9298 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02005/1.016, allocations: 11.59 MB / 0.9411 GB, free: 8.965 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.005717/1.022, allocations: 0.912 MB / 0.942 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/1.034, allocations: 2.157 MB / 0.9441 GB, free: 8.934 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.007643/1.041, allocations: 3.177 MB / 0.9472 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.01454/1.056, allocations: 5.947 MB / 0.953 GB, free: 7.18 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02279/1.079, allocations: 17.88 MB / 0.9705 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.079, allocations: 0 / 0.9705 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.072e-06/1.079, allocations: 0 / 0.9705 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0006279/1.079, allocations: 2.438 kB / 0.9705 GB, free: 1.504 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03994/1.119, allocations: 12.11 MB / 0.9823 GB, free: 10.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.119, allocations: 8.031 kB / 0.9823 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008606/1.128, allocations: 1.246 MB / 0.9835 GB, free: 9.535 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/1.152, allocations: 9.856 MB / 0.9932 GB, free: 2.254 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/1.153, allocations: 437.9 kB / 0.9936 GB, free: 2.008 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003895/1.157, allocations: 0.5856 MB / 0.9942 GB, free: 1.609 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03433/1.191, allocations: 14.62 MB / 1.008 GB, free: 2.863 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003073/1.191, allocations: 20.44 kB / 1.008 GB, free: 2.852 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003711/1.195, allocations: 240 kB / 1.009 GB, free: 2.617 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/1.195, allocations: 140 kB / 1.009 GB, free: 2.48 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03418/1.229, allocations: 19.77 MB / 1.028 GB, free: 14.75 MB / 0.6199 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.1107/1.34, allocations: 59.88 MB / 1.087 GB, free: 2.148 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.354, allocations: 9.181 MB / 1.096 GB, free: 8.957 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01292/1.367, allocations: 8.593 MB / 1.104 GB, free: 380 kB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05371/1.421, allocations: 27.38 MB / 1.131 GB, free: 4.723 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01122/1.432, allocations: 7.643 MB / 1.138 GB, free: 13.04 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02228/1.455, allocations: 8.565 MB / 1.147 GB, free: 4.609 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=300): time 1.827e-05/1.455, allocations: 0 / 1.147 GB, free: 4.609 MB / 0.7293 GB Notification: Performance of matching and sorting (n=300): time 0.05011/1.505, allocations: 23.35 MB / 1.169 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.505, allocations: 85.75 kB / 1.169 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/1.521, allocations: 7.909 MB / 1.177 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/1.523, allocations: 97.7 kB / 1.177 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004792/1.528, allocations: 3.992 MB / 1.181 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.003452/1.531, allocations: 1.089 MB / 1.182 GB, free: 0 / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2852/1.816, allocations: 1.654 MB / 1.184 GB, free: 302.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.817, allocations: 305.2 kB / 1.184 GB, free: 302.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01135/1.828, allocations: 6.546 MB / 1.19 GB, free: 301.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/1.839, allocations: 8.324 MB / 1.199 GB, free: 297.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02042/1.86, allocations: 15.25 MB / 1.213 GB, free: 289.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-05/1.86, allocations: 13.56 kB / 1.214 GB, free: 289.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03071/1.891, allocations: 17.52 MB / 1.231 GB, free: 283.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/1.891, allocations: 53.27 kB / 1.231 GB, free: 283.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.039e-05/1.891, allocations: 49.12 kB / 1.231 GB, free: 283.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07084/1.962, allocations: 11.52 MB / 1.242 GB, free: 272.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008961/1.971, allocations: 1.559 MB / 1.243 GB, free: 270.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/1.978, allocations: 6.219 MB / 1.25 GB, free: 264.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/1.99, allocations: 0.513 MB / 1.25 GB, free: 263.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/1.993, allocations: 0.546 MB / 1.251 GB, free: 263.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01589/2.009, allocations: 8.795 MB / 1.259 GB, free: 254.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01055/2.02, allocations: 8.28 MB / 1.267 GB, free: 245.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0194/2.039, allocations: 15.15 MB / 1.282 GB, free: 229.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.892e-05/2.039, allocations: 12 kB / 1.282 GB, free: 229.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.0269/2.066, allocations: 17.19 MB / 1.299 GB, free: 212.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/2.066, allocations: 53.69 kB / 1.299 GB, free: 212.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.258e-05/2.066, allocations: 48 kB / 1.299 GB, free: 212.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09176/2.158, allocations: 11.07 MB / 1.31 GB, free: 201.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/2.171, allocations: 1.549 MB / 1.311 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/2.186, allocations: 10.14 MB / 1.321 GB, free: 189.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/2.204, allocations: 0.5195 MB / 1.322 GB, free: 189 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004008/2.208, allocations: 0.5343 MB / 1.322 GB, free: 188.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004542/2.213, allocations: 486.2 kB / 1.323 GB, free: 188 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004724/2.218, allocations: 0.7509 MB / 1.323 GB, free: 187.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04034/2.258, allocations: 14.15 MB / 1.337 GB, free: 173.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/2.258, allocations: 36 kB / 1.337 GB, free: 173.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/2.258, allocations: 12.91 kB / 1.337 GB, free: 173.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02275/2.281, allocations: 10.76 MB / 1.348 GB, free: 162.3 MB / 0.7605 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.04868/2.33, allocations: 24.49 MB / 1.372 GB, free: 137.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/2.33, allocations: 7.938 kB / 1.372 GB, free: 137.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005197/2.335, allocations: 0.6962 MB / 1.372 GB, free: 137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06526/2.4, allocations: 10.72 MB / 1.383 GB, free: 126.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001478/2.402, allocations: 103.9 kB / 1.383 GB, free: 126.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/2.406, allocations: 4.687 MB / 1.388 GB, free: 121.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/2.406, allocations: 0 / 1.388 GB, free: 121.4 MB / 0.7605 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 1.094/3.5, allocations: 225.7 MB / 1.608 GB, free: 218.8 MB / 0.7605 GB Error: post-optimization module symbolicJacobian (simulation) failed.