Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 189.1 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.4754/0.4754, allocations: 87.5 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.268/1.268, 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.0009839/0.0009839, allocations: 101.7 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.89 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3074, allocations: 70.06 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.5585/0.8659, allocations: 204.5 MB / 0.7572 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.8825, allocations: 13.83 MB / 0.7707 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.8845, allocations: 47.16 kB / 0.7707 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.8863, allocations: 0.6562 MB / 0.7714 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.8913, allocations: 2.056 MB / 0.7734 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.8976, allocations: 1.835 MB / 0.7752 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007182/0.9048, allocations: 4.182 MB / 0.7793 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.9066, allocations: 1 MB / 0.7802 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/0.9116, allocations: 1.692 MB / 0.7819 GB, free: 0 / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.9136, allocations: 1.054 MB / 0.7829 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.9138, allocations: 67.97 kB / 0.783 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005711/0.9195, allocations: 3.198 MB / 0.7861 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.92, allocations: 368.6 kB / 0.7865 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.9211, allocations: 0.718 MB / 0.7872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.9265, allocations: 3.147 MB / 0.7902 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9265, allocations: 0 / 0.7902 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9265, allocations: 0 / 0.7902 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.9265, allocations: 0 / 0.7902 GB, free: 12.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004089/0.9306, allocations: 2.117 MB / 0.7923 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9307, allocations: 7.969 kB / 0.7923 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.9335, allocations: 0.5207 MB / 0.7928 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.9356, allocations: 1.085 MB / 0.7939 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006614/0.9362, allocations: 194.6 kB / 0.7941 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.9364, allocations: 98.97 kB / 0.7942 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.9389, allocations: 1.263 MB / 0.7954 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.9389, allocations: 0 / 0.7954 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.939, allocations: 36 kB / 0.7954 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.939, allocations: 41.98 kB / 0.7955 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.9421, allocations: 1.295 MB / 0.7967 GB, free: 6.844 MB / 0.5261 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.007429/0.9495, allocations: 4.871 MB / 0.8015 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.952, allocations: 1.002 MB / 0.8025 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.9532, allocations: 0.568 MB / 0.803 GB, free: 176 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.9543, allocations: 0.8365 MB / 0.8038 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.9558, allocations: 0.6869 MB / 0.8045 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.9558, allocations: 0 / 0.8045 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85): time 0.004321/0.9602, allocations: 1.744 MB / 0.8062 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.9603, allocations: 119.5 kB / 0.8063 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.9617, allocations: 1.034 MB / 0.8073 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.9618, allocations: 45.7 kB / 0.8074 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.9623, allocations: 0.5217 MB / 0.8079 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.9625, allocations: 273.5 kB / 0.8081 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.9629, allocations: 214.4 kB / 0.8084 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.963, allocations: 349.9 kB / 0.8087 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.9643, allocations: 0.503 MB / 0.8092 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.9658, allocations: 0.7077 MB / 0.8099 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.9683, allocations: 1.19 MB / 0.811 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9684, allocations: 2.531 kB / 0.811 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003398/0.9718, allocations: 1.491 MB / 0.8125 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.9718, allocations: 69.27 kB / 0.8126 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.9718, allocations: 4 kB / 0.8126 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.9719, allocations: 11.94 kB / 0.8126 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9731, allocations: 250.1 kB / 0.8128 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.9731, allocations: 6.531 kB / 0.8128 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9746, allocations: 207.4 kB / 0.813 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.9748, allocations: 47.97 kB / 0.8131 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001632/0.9764, allocations: 0.7478 MB / 0.8138 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001418/0.9778, allocations: 0.6906 MB / 0.8145 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002511/0.9804, allocations: 1.194 MB / 0.8156 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.9804, allocations: 0 / 0.8156 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00338/0.9838, allocations: 1.467 MB / 0.8171 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.9838, allocations: 71.38 kB / 0.8171 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9838, allocations: 4 kB / 0.8171 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.9839, allocations: 8 kB / 0.8171 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.9851, allocations: 256.7 kB / 0.8174 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.9851, allocations: 7.938 kB / 0.8174 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9865, allocations: 183.2 kB / 0.8176 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.9867, allocations: 43.98 kB / 0.8176 GB, free: 0.7383 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003335/0.987, allocations: 304.4 kB / 0.8179 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.9873, allocations: 130.4 kB / 0.818 GB, free: 312 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.9907, allocations: 1.49 MB / 0.8195 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.9907, allocations: 11.94 kB / 0.8195 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9907, allocations: 2.531 kB / 0.8195 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.9907, allocations: 3.984 kB / 0.8195 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.9962, allocations: 2.934 MB / 0.8224 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.9962, allocations: 4 kB / 0.8224 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.9972, allocations: 194.1 kB / 0.8226 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.9972, allocations: 4 kB / 0.8226 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/0.9973, allocations: 31.98 kB / 0.8226 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.9973, allocations: 8 kB / 0.8226 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9973, allocations: 6.531 kB / 0.8226 GB, free: 11.55 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hex.flowRegime = if hex.C1_flow * hex.C2_flow >= 0.0 then IBPSA.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else IBPSA.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.016, allocations: 4.994 MB / 0.8275 GB, free: 6.414 MB / 0.5573 GB Error: post-optimization module symbolicJacobian (simulation) failed.