Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01778/0.01778, allocations: 1.777 MB / 22.36 MB, free: 2.113 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.0008397/0.0008397, allocations: 78.48 kB / 26.19 MB, free: 6.223 MB / 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.0008748/0.0008748, allocations: 171 kB / 30.13 MB, free: 2.324 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.9263/0.9263, allocations: 177.2 MB / 211.1 MB, free: 3.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6212/0.6212, allocations: 102.4 MB / 370.6 MB, free: 184 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 471.2 MB, free: 5.723 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.643e-05, allocations: 3.844 kB / 471.3 MB, free: 5.719 MB / 426.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.1093/0.1093, allocations: 61.91 MB / 0.5207 GB, free: 10.34 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.1281, allocations: 17.9 MB / 0.5381 GB, free: 8.391 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1292, allocations: 59.62 kB / 0.5382 GB, free: 8.332 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.001936/0.1311, allocations: 1.306 MB / 0.5395 GB, free: 7.02 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.1332, allocations: 1.561 MB / 0.541 GB, free: 5.449 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.1364, allocations: 2.107 MB / 0.5431 GB, free: 3.336 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.1386, allocations: 3.521 MB / 0.5465 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.1397, allocations: 1.25 MB / 0.5477 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1101/0.2498, allocations: 47.12 MB / 0.5937 GB, free: 0.5195 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.2515, allocations: 1.25 MB / 0.595 GB, free: 15.26 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.2517, allocations: 200 kB / 0.5951 GB, free: 15.07 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.2547, allocations: 1.637 MB / 0.5967 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.2553, allocations: 0.7198 MB / 0.5974 GB, free: 12.7 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.2559, allocations: 0.771 MB / 0.5982 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.2594, allocations: 3.522 MB / 0.6016 GB, free: 8.395 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2594, allocations: 4 kB / 0.6016 GB, free: 8.391 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2594, allocations: 0 / 0.6016 GB, free: 8.391 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.2594, allocations: 0 / 0.6016 GB, free: 8.391 MB / 0.5574 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.003374/0.2628, allocations: 3.951 MB / 0.6055 GB, free: 4.352 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2629, allocations: 12.03 kB / 0.6055 GB, free: 4.34 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.2633, allocations: 454.7 kB / 0.6059 GB, free: 3.895 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.2649, allocations: 1.762 MB / 0.6077 GB, free: 2.047 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.265, allocations: 119.3 kB / 0.6078 GB, free: 1.93 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2651, allocations: 160.3 kB / 0.6079 GB, free: 1.773 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.2676, allocations: 2.516 MB / 0.6104 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.2677, allocations: 15.81 kB / 0.6104 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.2678, allocations: 76 kB / 0.6105 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.2678, allocations: 44 kB / 0.6105 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2696, allocations: 1.152 MB / 0.6116 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007272/0.2769, allocations: 13.96 MB / 0.6253 GB, free: 15.06 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.2789, allocations: 1.373 MB / 0.6266 GB, free: 13.54 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.2793, allocations: 428.8 kB / 0.627 GB, free: 13.06 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.2794, allocations: 84.89 kB / 0.6271 GB, free: 12.98 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.281, allocations: 1.217 MB / 0.6283 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=225): time 2.825e-06/0.281, allocations: 0 / 0.6283 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of matching and sorting (n=229): time 0.008094/0.2891, allocations: 4.695 MB / 0.6329 GB, free: 6.82 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/0.2893, allocations: 0.6887 MB / 0.6336 GB, free: 5.973 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.2908, allocations: 2.122 MB / 0.6356 GB, free: 3.836 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.2909, allocations: 54.17 kB / 0.6357 GB, free: 3.777 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.2916, allocations: 1.25 MB / 0.6369 GB, free: 2.512 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.292, allocations: 0.7824 MB / 0.6377 GB, free: 1.723 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.2925, allocations: 0.526 MB / 0.6382 GB, free: 1.191 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2926, allocations: 480.8 kB / 0.6386 GB, free: 0.7188 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.2932, allocations: 381.6 kB / 0.639 GB, free: 336 kB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009547/0.2942, allocations: 1.527 MB / 0.6405 GB, free: 14.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.296, allocations: 2.263 MB / 0.6427 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.296, allocations: 4 kB / 0.6427 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002707/0.2987, allocations: 2.204 MB / 0.6449 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.2987, allocations: 83.38 kB / 0.6449 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001669/0.3004, allocations: 1.368 MB / 0.6463 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.301, allocations: 258.7 kB / 0.6465 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009469/0.3019, allocations: 0.5537 MB / 0.6471 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.3073, allocations: 7.005 MB / 0.6539 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.3081, allocations: 115.7 kB / 0.654 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.3083, allocations: 128 kB / 0.6541 GB, free: 15.44 MB / 0.6199 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.0008584/0.3091, allocations: 0.5221 MB / 0.6546 GB, free: 14.9 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009385/0.3101, allocations: 1.531 MB / 0.6561 GB, free: 12.89 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001919/0.312, allocations: 2.251 MB / 0.6583 GB, free: 10.19 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.546e-06/0.312, allocations: 8 kB / 0.6583 GB, free: 10.18 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00245/0.3144, allocations: 2.177 MB / 0.6605 GB, free: 7.957 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3145, allocations: 83.33 kB / 0.6606 GB, free: 7.863 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001603/0.3161, allocations: 1.348 MB / 0.6619 GB, free: 6.473 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.3165, allocations: 219.1 kB / 0.6621 GB, free: 6.246 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.3175, allocations: 0.5499 MB / 0.6626 GB, free: 5.695 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.3226, allocations: 6.982 MB / 0.6694 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.3234, allocations: 107.8 kB / 0.6695 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.3235, allocations: 123.9 kB / 0.6697 GB, free: 14.14 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.000539/0.3241, allocations: 0.489 MB / 0.6701 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.3244, allocations: 346 kB / 0.6705 GB, free: 13.29 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.002231/0.3267, allocations: 1.904 MB / 0.6723 GB, free: 11.34 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2654290590435266]