Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4684/0.4684, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 100.9 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009992, allocations: 51.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2711, allocations: 70.06 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.05893/0.3301, allocations: 80.07 MB / 0.6357 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.3552, allocations: 19.37 MB / 0.6546 GB, free: 9.449 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.3586, allocations: 99.38 kB / 0.6547 GB, free: 9.352 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.3617, allocations: 0.9775 MB / 0.6556 GB, free: 8.371 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006665/0.3683, allocations: 2.575 MB / 0.6582 GB, free: 5.789 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.3734, allocations: 2.152 MB / 0.6603 GB, free: 3.652 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.03038/0.4038, allocations: 36.18 MB / 0.6956 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01837/0.4222, allocations: 15.16 MB / 0.7104 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3041/0.7263, allocations: 9.524 MB / 0.7197 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02294/0.7493, allocations: 11.61 MB / 0.731 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.005264/0.7546, allocations: 0.9083 MB / 0.7319 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.7649, allocations: 2.157 MB / 0.734 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.006588/0.7715, allocations: 3.182 MB / 0.7371 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01202/0.7835, allocations: 5.981 MB / 0.743 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.8034, allocations: 17.95 MB / 0.7605 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.8035, allocations: 3.938 kB / 0.7605 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8035, allocations: 0 / 0.7605 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005992/0.8041, allocations: 3.969 kB / 0.7605 GB, free: 15.62 MB / 0.5105 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.03555/0.8396, allocations: 12.19 MB / 0.7724 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8397, allocations: 14.05 kB / 0.7724 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007071/0.8468, allocations: 1.344 MB / 0.7737 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/0.8671, allocations: 10.07 MB / 0.7836 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.8674, allocations: 440.2 kB / 0.784 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/0.87, allocations: 0.5743 MB / 0.7846 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.8941, allocations: 14.65 MB / 0.7989 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.8943, allocations: 28.14 kB / 0.7989 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/0.8958, allocations: 240 kB / 0.7991 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.624e-05/0.8959, allocations: 144 kB / 0.7993 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.9298, allocations: 19.82 MB / 0.8186 GB, free: 8.09 MB / 0.5417 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.108/1.038, allocations: 59.97 MB / 0.8772 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.052, allocations: 9.224 MB / 0.8862 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01232/1.065, allocations: 8.614 MB / 0.8946 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05955/1.124, allocations: 27.4 MB / 0.9213 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/1.137, allocations: 7.674 MB / 0.9288 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02367/1.161, allocations: 8.562 MB / 0.9372 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=300): time 2.936e-05/1.161, allocations: 0 / 0.9372 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=300): time 0.2971/1.458, allocations: 23.42 MB / 0.9601 GB, free: 268.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.458, allocations: 86 kB / 0.9601 GB, free: 268.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.469, allocations: 8.031 MB / 0.968 GB, free: 266.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001832/1.47, allocations: 99.48 kB / 0.9681 GB, free: 266.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.473, allocations: 4.068 MB / 0.9721 GB, free: 263.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.475, allocations: 1.076 MB / 0.9731 GB, free: 263 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002651/1.478, allocations: 1.672 MB / 0.9747 GB, free: 262.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.548e-05/1.478, allocations: 305.1 kB / 0.975 GB, free: 262.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007416/1.485, allocations: 6.561 MB / 0.9814 GB, free: 259.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008749/1.494, allocations: 8.354 MB / 0.9896 GB, free: 255.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.512, allocations: 15.28 MB / 1.005 GB, free: 244.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/1.512, allocations: 14.19 kB / 1.005 GB, free: 244.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02754/1.539, allocations: 17.56 MB / 1.022 GB, free: 227 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/1.539, allocations: 53.67 kB / 1.022 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.255e-05/1.539, allocations: 48 kB / 1.022 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06645/1.606, allocations: 11.52 MB / 1.033 GB, free: 215.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00808/1.614, allocations: 1.56 MB / 1.035 GB, free: 214 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.621, allocations: 6.219 MB / 1.041 GB, free: 207.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.631, allocations: 0.5229 MB / 1.041 GB, free: 207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.632, allocations: 0.5537 MB / 1.042 GB, free: 206.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01141/1.644, allocations: 8.839 MB / 1.05 GB, free: 197.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008795/1.653, allocations: 8.296 MB / 1.058 GB, free: 188.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01728/1.67, allocations: 15.19 MB / 1.073 GB, free: 172.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.709e-05/1.67, allocations: 16 kB / 1.073 GB, free: 172.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.02548/1.696, allocations: 17.24 MB / 1.09 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/1.696, allocations: 57.69 kB / 1.09 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/1.696, allocations: 48 kB / 1.09 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06721/1.763, allocations: 11.06 MB / 1.101 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007926/1.771, allocations: 1.551 MB / 1.103 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.781, allocations: 10.15 MB / 1.112 GB, free: 132 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009904/1.791, allocations: 0.5236 MB / 1.113 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.793, allocations: 0.5382 MB / 1.113 GB, free: 130.9 MB / 0.6667 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.003097/1.796, allocations: 495 kB / 1.114 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003247/1.8, allocations: 0.7602 MB / 1.115 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/1.823, allocations: 14.19 MB / 1.129 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/1.823, allocations: 47.88 kB / 1.129 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.823, allocations: 0 / 1.129 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01299/1.836, allocations: 10.79 MB / 1.139 GB, free: 104.5 MB / 0.6667 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.03291/1.869, allocations: 24.58 MB / 1.163 GB, free: 79.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.869, allocations: 4 kB / 1.163 GB, free: 79.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005164/1.874, allocations: 0.7041 MB / 1.164 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06393/1.938, allocations: 10.71 MB / 1.174 GB, free: 68.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/1.939, allocations: 103.9 kB / 1.174 GB, free: 68.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/1.943, allocations: 4.691 MB / 1.179 GB, free: 63.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.943, allocations: 7.938 kB / 1.179 GB, free: 63.46 MB / 0.6667 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.001/2.944, allocations: 226.2 MB / 1.4 GB, free: 126.8 MB / 0.6667 GB Error: post-optimization module symbolicJacobian (simulation) failed.