Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.0061/0.0061, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07722/0.07722, allocations: 18.24 MB / 42.2 MB, free: 5.191 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 91.94 kB / 53.06 MB, free: 6.516 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 161.8 kB / 64.03 MB, free: 10.21 MB / 58.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8909/0.8909, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.4858/0.4858, allocations: 102.5 MB / 418.6 MB, free: 5.199 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6029 GB, free: 244 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.206e-05, allocations: 4.25 kB / 0.6029 GB, free: 240 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.01732/0.01733, allocations: 26.22 MB / 0.6285 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.04203, allocations: 20.96 MB / 0.649 GB, free: 0.875 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004111/0.04614, allocations: 198.4 kB / 0.6492 GB, free: 0.6797 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.05056, allocations: 2.842 MB / 0.652 GB, free: 13.82 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.007672/0.05823, allocations: 4.737 MB / 0.6566 GB, free: 9.055 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.06467, allocations: 4.969 MB / 0.6614 GB, free: 4.098 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2459/0.3106, allocations: 12.48 MB / 0.6736 GB, free: 20.21 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004981/0.3155, allocations: 3.821 MB / 0.6774 GB, free: 19.8 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007535/0.3231, allocations: 6.739 MB / 0.6839 GB, free: 19.18 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004774/0.3279, allocations: 4.08 MB / 0.6879 GB, free: 18.71 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.3291, allocations: 0.7619 MB / 0.6887 GB, free: 18.71 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.3322, allocations: 1.834 MB / 0.6905 GB, free: 18.65 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.3336, allocations: 2.36 MB / 0.6928 GB, free: 18.21 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.3361, allocations: 2.638 MB / 0.6953 GB, free: 17.84 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009463/0.3456, allocations: 11.6 MB / 0.7067 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3456, allocations: 0 / 0.7067 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3456, allocations: 1.312 kB / 0.7067 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000187/0.3458, allocations: 0 / 0.7067 GB, free: 13.93 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.009044/0.3548, allocations: 8.42 MB / 0.7149 GB, free: 7.949 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3548, allocations: 10.66 kB / 0.7149 GB, free: 7.949 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005564/0.3554, allocations: 0.7882 MB / 0.7157 GB, free: 7.355 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.357, allocations: 1.116 MB / 0.7168 GB, free: 6.727 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006328/0.3634, allocations: 5.993 MB / 0.7226 GB, free: 2.789 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.3635, allocations: 359.4 kB / 0.723 GB, free: 2.625 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.3639, allocations: 451.3 kB / 0.7234 GB, free: 2.48 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.3771, allocations: 12.08 MB / 0.7352 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.338e-05/0.3772, allocations: 70.84 kB / 0.7353 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.3775, allocations: 241.9 kB / 0.7355 GB, free: 8.543 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.282e-05/0.3776, allocations: 164.8 kB / 0.7357 GB, free: 8.543 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.3906, allocations: 7.92 MB / 0.7434 GB, free: 2.934 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.4223, allocations: 49.32 MB / 0.7915 GB, free: 372 kB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4336, allocations: 6.156 MB / 0.7976 GB, free: 10.07 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.4363, allocations: 1.895 MB / 0.7994 GB, free: 8.109 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.4371, allocations: 313.4 kB / 0.7997 GB, free: 7.805 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.773e-05/0.4371, allocations: 104.2 kB / 0.7998 GB, free: 7.699 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=863): time 6.693e-06/0.4371, allocations: 0 / 0.7998 GB, free: 7.699 MB / 0.6199 GB Notification: Performance of matching and sorting (n=863): time 0.02202/0.4592, allocations: 12 MB / 0.8115 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002768/0.4594, allocations: 0.9632 MB / 0.8125 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006972/0.4664, allocations: 6.288 MB / 0.8186 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004141/0.4668, allocations: 85.7 kB / 0.8187 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.4684, allocations: 3.213 MB / 0.8218 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001798/0.4702, allocations: 2.901 MB / 0.8247 GB, free: 14.1 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.4722, allocations: 1.918 MB / 0.8265 GB, free: 12.17 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.4723, allocations: 305.1 kB / 0.8268 GB, free: 11.87 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003673/0.476, allocations: 2.89 MB / 0.8297 GB, free: 8.969 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.4812, allocations: 6.301 MB / 0.8358 GB, free: 1.219 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/0.491, allocations: 9.689 MB / 0.8453 GB, free: 6.504 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-05/0.491, allocations: 32 kB / 0.8453 GB, free: 6.473 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0133/0.5043, allocations: 9.959 MB / 0.855 GB, free: 13.05 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.5044, allocations: 50.34 kB / 0.8551 GB, free: 13 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008422/0.5128, allocations: 6.534 MB / 0.8615 GB, free: 6.461 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.513, allocations: 152 kB / 0.8616 GB, free: 6.312 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.5175, allocations: 2.513 MB / 0.8641 GB, free: 3.957 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.5177, allocations: 223.1 kB / 0.8643 GB, free: 3.785 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004873/0.5225, allocations: 1.113 MB / 0.8654 GB, free: 2.664 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008528/0.5234, allocations: 0.6519 MB / 0.866 GB, free: 2.012 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006163/0.5295, allocations: 4.034 MB / 0.8699 GB, free: 13.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00522/0.5348, allocations: 6.237 MB / 0.876 GB, free: 6.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009736/0.5445, allocations: 9.57 MB / 0.8854 GB, free: 11.69 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-05/0.5445, allocations: 29.48 kB / 0.8854 GB, free: 11.66 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01347/0.558, allocations: 9.818 MB / 0.895 GB, free: 2.16 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.558, allocations: 48 kB / 0.895 GB, free: 2.113 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008073/0.5661, allocations: 6.387 MB / 0.9013 GB, free: 11.67 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.5662, allocations: 156 kB / 0.9014 GB, free: 11.52 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/0.5705, allocations: 2.496 MB / 0.9038 GB, free: 9.016 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.5706, allocations: 215.3 kB / 0.9041 GB, free: 8.805 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/0.5752, allocations: 0.8938 MB / 0.9049 GB, free: 7.906 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/0.5759, allocations: 0.6401 MB / 0.9056 GB, free: 7.266 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * Array equations: 0 * Algorithm blocks: 0 * 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.001735/0.5776, allocations: 0.7546 MB / 0.9063 GB, free: 6.5 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/0.5794, allocations: 0.8069 MB / 0.9071 GB, free: 5.688 MB / 0.7293 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1203 equation(s) and 1155 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.5916, allocations: 11.89 MB / 0.9187 GB, free: 9.895 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.381093523465097]