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.005985/0.005985, 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.000782/0.000782, 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.0009203/0.0009203, allocations: 164.1 kB / 27.85 MB, free: 5.496 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.8452/0.8452, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.6999/0.6999, allocations: 102.5 MB / 367.9 MB, free: 1.449 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 2.194e-06/2.194e-06, allocations: 7.078 kB / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.606e-05, allocations: 8.703 kB / 0.5362 GB, free: 40.07 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.103/0.103, allocations: 58.43 MB / 0.5933 GB, free: 2.059 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.1196, allocations: 17.24 MB / 0.6101 GB, free: 0.7539 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.1205, allocations: 59.56 kB / 0.6102 GB, free: 0.6953 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.00212/0.1226, allocations: 1.305 MB / 0.6114 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.1243, allocations: 1.537 MB / 0.6129 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.1275, allocations: 2.103 MB / 0.615 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.1296, allocations: 3.529 MB / 0.6184 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.1305, allocations: 1.168 MB / 0.6196 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1318, allocations: 1.913 MB / 0.6214 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.1332, allocations: 1.369 MB / 0.6228 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.1334, allocations: 256 kB / 0.623 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.1355, allocations: 1.691 MB / 0.6247 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.1359, allocations: 0.8212 MB / 0.6255 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.1364, allocations: 0.8568 MB / 0.6263 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.1401, allocations: 4.914 MB / 0.6311 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1401, allocations: 4 kB / 0.6311 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1401, allocations: 0 / 0.6311 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.1402, allocations: 4 kB / 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.003753/0.1439, allocations: 3.899 MB / 0.6349 GB, free: 7.16 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.144, allocations: 8.031 kB / 0.6349 GB, free: 7.152 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.1442, allocations: 245.8 kB / 0.6352 GB, free: 6.902 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.1447, allocations: 406.5 kB / 0.6356 GB, free: 6.504 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/0.1479, allocations: 2.852 MB / 0.6384 GB, free: 3.586 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.148, allocations: 115.3 kB / 0.6385 GB, free: 3.473 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1482, allocations: 156.3 kB / 0.6386 GB, free: 3.32 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.1512, allocations: 2.866 MB / 0.6414 GB, free: 84 kB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.1513, allocations: 19.81 kB / 0.6414 GB, free: 64 kB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.1514, allocations: 64 kB / 0.6415 GB, free: 0 / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.1514, allocations: 44.05 kB / 0.6415 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.1544, allocations: 1.967 MB / 0.6435 GB, free: 13.97 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006976/0.1614, allocations: 10.89 MB / 0.6541 GB, free: 2.711 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.1639, allocations: 1.789 MB / 0.6558 GB, free: 0.8047 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.1647, allocations: 0.7213 MB / 0.6565 GB, free: 40 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.1652, allocations: 84.77 kB / 0.6566 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.1672, allocations: 1.533 MB / 0.6581 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.916e-06/0.1672, allocations: 4 kB / 0.6581 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01465/0.1819, allocations: 13.32 MB / 0.6711 GB, free: 0.832 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/0.1821, allocations: 0.6346 MB / 0.6717 GB, free: 48 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.1842, allocations: 2.434 MB / 0.6741 GB, free: 13.59 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.1843, allocations: 53.7 kB / 0.6742 GB, free: 13.53 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.1849, allocations: 1.105 MB / 0.6752 GB, free: 12.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.1853, allocations: 0.7667 MB / 0.676 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/0.1858, allocations: 0.493 MB / 0.6765 GB, free: 11.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.1858, allocations: 317 kB / 0.6768 GB, free: 10.83 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.1871, allocations: 0.8378 MB / 0.6776 GB, free: 9.977 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.1885, allocations: 1.632 MB / 0.6792 GB, free: 8.004 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04864/0.2371, allocations: 15.01 MB / 0.6939 GB, free: 8.621 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.2372, allocations: 8 kB / 0.6939 GB, free: 8.613 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004152/0.2413, allocations: 3.152 MB / 0.6969 GB, free: 5.418 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.2414, allocations: 83.38 kB / 0.697 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003103/0.2445, allocations: 2.294 MB / 0.6993 GB, free: 2.996 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.2451, allocations: 278.3 kB / 0.6995 GB, free: 2.715 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.246, allocations: 0.546 MB / 0.7001 GB, free: 2.168 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.2523, allocations: 6.162 MB / 0.7061 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2534, allocations: 115.7 kB / 0.7062 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.2535, 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.001783/0.2553, allocations: 1.32 MB / 0.7076 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001332/0.2566, allocations: 1.621 MB / 0.7092 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04922/0.3058, allocations: 14.96 MB / 0.7238 GB, free: 8.781 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-05/0.3059, allocations: 8 kB / 0.7238 GB, free: 8.773 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004557/0.3104, allocations: 3.074 MB / 0.7268 GB, free: 5.656 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.3105, allocations: 75.39 kB / 0.7269 GB, free: 5.57 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002734/0.3132, allocations: 2.215 MB / 0.729 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/0.3137, allocations: 262.3 kB / 0.7293 GB, free: 3.055 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.3146, allocations: 0.546 MB / 0.7298 GB, free: 2.508 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.3207, allocations: 5.988 MB / 0.7357 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3218, allocations: 103.8 kB / 0.7358 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.3219, allocations: 144.5 kB / 0.7359 GB, free: 11.94 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.0005573/0.3225, allocations: 416.8 kB / 0.7363 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.3228, 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.00256/0.3254, allocations: 2.259 MB / 0.7388 GB, free: 8.902 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.181532328017056] Failed to read output from testmodel.py, exit status != 0: 0.6509325560182333 0.657598026 0.51608235 Calling exit ...