Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.conf.json 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.0008971/0.0008971, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001059/0.001059, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9023/0.9023, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 419.9 kB / 259.6 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/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) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.038e-05, allocations: 6.219 kB / 381.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001114/0.001134, allocations: 0.5695 MB / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.001311, allocations: 51.8 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.00134, allocations: 0 / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.001357, allocations: 3.938 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.001434, allocations: 3.938 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.338e-05/0.001527, allocations: 15.91 kB / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.001595, allocations: 47.89 kB / 382.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.00164, allocations: 4 kB / 382.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.001693, allocations: 35.89 kB / 382.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.001758, allocations: 27.89 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.00178, allocations: 4 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.001789, allocations: 4 kB / 382.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.001806, allocations: 3.984 kB / 382.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.001832, allocations: 19.92 kB / 382.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.001905, allocations: 39.8 kB / 382.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.001907, allocations: 0 / 382.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.001908, allocations: 0 / 382.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.001911, allocations: 4 kB / 382.6 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004269/0.002338, allocations: 305.1 kB / 382.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.002375, allocations: 8.031 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.002407, allocations: 38.75 kB / 383 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.00243, allocations: 8.891 kB / 383 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.00252, allocations: 109.7 kB / 383.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.002531, allocations: 8.312 kB / 383.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.002555, allocations: 12.36 kB / 383.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.002657, allocations: 74.23 kB / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.002664, allocations: 192 / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.002674, allocations: 4.375 kB / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.00268, allocations: 4.125 kB / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.002741, allocations: 35.98 kB / 383.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.00311, allocations: 271.9 kB / 383.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.003315, allocations: 102.5 kB / 383.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.003356, allocations: 32.84 kB / 383.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.00337, allocations: 3.938 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.003393, allocations: 38.56 kB / 383.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.003394, allocations: 0 / 383.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001824/0.005218, allocations: 0.7735 MB / 384.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.005275, allocations: 59.41 kB / 384.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.005354, allocations: 109.8 kB / 384.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.005369, allocations: 29.7 kB / 384.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.005416, allocations: 88.14 kB / 384.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.00545, allocations: 63.42 kB / 384.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.005494, allocations: 37.7 kB / 384.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.005575, allocations: 318.8 kB / 385.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.005626, allocations: 39.98 kB / 385.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.005689, allocations: 57.7 kB / 385.2 MB, free: 12.45 MB / 362.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.006848, allocations: 485.2 kB / 385.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00685, allocations: 7.875 kB / 385.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006893/0.007539, allocations: 322 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.007558, allocations: 6.812 kB / 386 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007564, allocations: 0 / 386 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.008373, allocations: 260.6 kB / 386.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.008427, allocations: 19.98 kB / 386.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.01031, allocations: 1.827 MB / 388.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.01034, allocations: 4.062 kB / 388.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.01035, allocations: 4 kB / 388.1 MB, free: 9.402 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.E1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.0105, allocations: 121.8 kB / 388.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.01052, allocations: 11.89 kB / 388.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.01054, allocations: 28.38 kB / 388.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01054, allocations: 0 / 388.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01055, allocations: 0 / 388.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01055, allocations: 4 kB / 388.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.01069, allocations: 160.7 kB / 388.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01069, allocations: 0 / 388.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.01072, allocations: 8 kB / 388.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008034/0.01152, allocations: 276.5 kB / 388.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01153, allocations: 3.938 kB / 388.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.01299, allocations: 1.82 MB / 390.6 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01299, allocations: 7.938 kB / 390.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.01381, allocations: 399.9 kB / 391 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.01383, allocations: 11.95 kB / 391 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01385, allocations: 8.031 kB / 391 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.01393, allocations: 0 / 391 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01398, allocations: 23.91 kB / 391 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01399, allocations: 4.125 kB / 391 MB, free: 6.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.01403, allocations: 91.28 kB / 391.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01403, allocations: 0 / 391.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.0144, allocations: 32 kB / 391.1 MB, free: 6.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009842/0.01538, allocations: 0.936 MB / 392.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.01586, allocations: 322.8 kB / 392.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01586, allocations: 0 / 392.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.01605, allocations: 218.5 kB / 392.6 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.01622, allocations: 12.59 kB / 392.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.01844, allocations: 2.03 MB / 394.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.87e-05/0.0185, allocations: 83.81 kB / 394.7 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.01853, allocations: 8.484 kB / 394.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.01858, allocations: 24.5 kB / 394.7 MB, free: 2.445 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01858, allocations: 0 / 394.7 MB, free: 2.445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.03662, allocations: 4.463 MB / 399.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/8.624, allocations: 4.062 kB / 399.2 MB, free: 14.2 MB / 378.7 MB " [Timeout remaining time 651] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.34539311658591] Failed to read output from testmodel.py, exit status != 0: 8.712836594320834 8.721250495 8.71767886 Calling exit ...