Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0062/0.0062, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0006664/0.0006664, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007289/0.0007289, allocations: 159.2 kB / 27.85 MB, free: 5.5 MB / 18.57 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.8253/0.8253, allocations: 177.2 MB / 208.6 MB, free: 2.957 MB / 186.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.6963/0.6963, allocations: 102.5 MB / 367.9 MB, free: 1.477 MB / 330.8 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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.224e-05, allocations: 4.844 kB / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.1024/0.1024, allocations: 58.42 MB / 0.5933 GB, free: 2.062 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1188, allocations: 17.24 MB / 0.6101 GB, free: 0.7578 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1198, allocations: 55.62 kB / 0.6102 GB, free: 0.7031 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.002105/0.1219, allocations: 1.305 MB / 0.6114 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1238, allocations: 1.545 MB / 0.6129 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.1269, allocations: 2.107 MB / 0.615 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002604/0.1295, allocations: 3.521 MB / 0.6184 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.1307, allocations: 1.168 MB / 0.6196 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.1323, allocations: 1.909 MB / 0.6214 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.1333, allocations: 1.373 MB / 0.6228 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.1335, allocations: 252 kB / 0.623 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.1356, allocations: 1.703 MB / 0.6247 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004089/0.136, allocations: 0.8173 MB / 0.6255 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.1366, allocations: 0.8568 MB / 0.6263 GB, free: 76 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.1398, allocations: 4.922 MB / 0.6311 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1398, allocations: 4 kB / 0.6311 GB, free: 11.13 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1399, allocations: 0 / 0.6311 GB, free: 11.13 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.1399, allocations: 0 / 0.6311 GB, free: 11.13 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.00366/0.1435, allocations: 3.899 MB / 0.6349 GB, free: 7.16 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1436, allocations: 8.031 kB / 0.635 GB, free: 7.152 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.1438, allocations: 245.8 kB / 0.6352 GB, free: 6.902 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.1443, allocations: 406.6 kB / 0.6356 GB, free: 6.504 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.1471, allocations: 2.851 MB / 0.6384 GB, free: 3.586 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.1471, allocations: 119.3 kB / 0.6385 GB, free: 3.469 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1473, allocations: 152.3 kB / 0.6386 GB, free: 3.32 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.1502, allocations: 2.862 MB / 0.6414 GB, free: 88 kB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.1503, allocations: 19.86 kB / 0.6414 GB, free: 68 kB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.1504, allocations: 76 kB / 0.6415 GB, free: 15.99 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.1504, allocations: 44 kB / 0.6415 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.1531, allocations: 1.955 MB / 0.6435 GB, free: 13.97 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006517/0.1596, allocations: 10.89 MB / 0.6541 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.1621, allocations: 1.79 MB / 0.6558 GB, free: 0.8086 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.1628, allocations: 0.7251 MB / 0.6565 GB, free: 40 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.163, allocations: 72.91 kB / 0.6566 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/0.165, allocations: 1.541 MB / 0.6581 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.705e-06/0.165, allocations: 4 kB / 0.6581 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01293/0.1779, allocations: 13.3 MB / 0.6711 GB, free: 0.8477 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.1781, allocations: 0.6385 MB / 0.6717 GB, free: 60 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.18, allocations: 2.431 MB / 0.6741 GB, free: 13.61 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.1801, allocations: 53.7 kB / 0.6742 GB, free: 13.55 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.1807, allocations: 1.113 MB / 0.6752 GB, free: 12.42 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.181, allocations: 0.7744 MB / 0.676 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/0.1816, allocations: 0.4925 MB / 0.6765 GB, free: 11.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.1816, allocations: 309.1 kB / 0.6768 GB, free: 10.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.1826, allocations: 0.8417 MB / 0.6776 GB, free: 9.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.184, allocations: 1.629 MB / 0.6792 GB, free: 8.012 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04869/0.2326, allocations: 15.02 MB / 0.6939 GB, free: 8.625 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.2327, allocations: 8 kB / 0.6939 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004212/0.2369, allocations: 3.153 MB / 0.6969 GB, free: 5.422 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.237, allocations: 83.33 kB / 0.697 GB, free: 5.328 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002869/0.2399, allocations: 2.289 MB / 0.6993 GB, free: 3.004 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.2404, allocations: 274.3 kB / 0.6995 GB, free: 2.727 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.2414, allocations: 0.5537 MB / 0.7001 GB, free: 2.172 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.2475, allocations: 6.158 MB / 0.7061 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2485, allocations: 119.7 kB / 0.7062 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.2487, allocations: 144.2 kB / 0.7063 GB, free: 11.41 MB / 0.6043 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001802/0.2505, allocations: 1.324 MB / 0.7076 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001317/0.2518, allocations: 1.609 MB / 0.7092 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04797/0.2998, allocations: 14.97 MB / 0.7238 GB, free: 8.785 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.527e-05/0.2998, allocations: 8 kB / 0.7238 GB, free: 8.777 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004216/0.304, allocations: 3.07 MB / 0.7268 GB, free: 5.664 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.304, allocations: 75.39 kB / 0.7269 GB, free: 5.578 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002662/0.3067, allocations: 2.223 MB / 0.7291 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.3072, allocations: 250.3 kB / 0.7293 GB, free: 3.066 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.3081, allocations: 0.5577 MB / 0.7298 GB, free: 2.508 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.3138, allocations: 5.992 MB / 0.7357 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3148, allocations: 103.8 kB / 0.7358 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3149, allocations: 143.9 kB / 0.7359 GB, free: 11.93 MB / 0.6355 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005546/0.3155, allocations: 412.9 kB / 0.7363 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.3158, allocations: 309.9 kB / 0.7366 GB, free: 11.21 MB / 0.6355 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 254 equation(s) and 246 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.3184, allocations: 2.252 MB / 0.7388 GB, free: 8.91 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1874304125085473] Failed to read output from testmodel.py, exit status != 0: 0.6664917692542076 0.6754940899999999 0.533311251 Calling exit ...