Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 115.7 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.00199, allocations: 192.7 kB / 20.02 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 227.9 MB, free: 4.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3443/0.3443, allocations: 43.51 MB / 320.8 MB, free: 8.98 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3004, allocations: 57.78 MB / 0.4959 GB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.479/0.7794, allocations: 163.3 MB / 0.6554 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006061/0.7855, allocations: 4.112 MB / 0.6594 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.7862, allocations: 15.62 kB / 0.6594 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006424/0.7869, allocations: 205.1 kB / 0.6596 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.7899, allocations: 0.8296 MB / 0.6604 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.7921, allocations: 0.6809 MB / 0.6611 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.7943, allocations: 1.145 MB / 0.6622 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.7949, allocations: 329 kB / 0.6625 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.7961, allocations: 468.3 kB / 0.663 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.7968, allocations: 377.8 kB / 0.6633 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.7969, allocations: 46.5 kB / 0.6634 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.7985, allocations: 0.5962 MB / 0.664 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.7987, allocations: 154.7 kB / 0.6641 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.7991, allocations: 280.7 kB / 0.6644 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.8007, allocations: 0.9785 MB / 0.6653 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.8007, allocations: 3.812 kB / 0.6653 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8007, allocations: 0 / 0.6653 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8008, allocations: 0.6875 kB / 0.6653 GB, free: 1.434 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001958/0.8027, allocations: 0.9112 MB / 0.6662 GB, free: 16.85 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8028, allocations: 12.8 kB / 0.6663 GB, free: 16.84 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.8029, allocations: 87.72 kB / 0.6663 GB, free: 16.8 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.8033, allocations: 70.66 kB / 0.6664 GB, free: 16.77 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.8041, allocations: 426.7 kB / 0.6668 GB, free: 16.52 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.8042, allocations: 58.22 kB / 0.6669 GB, free: 16.49 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.8043, allocations: 38.69 kB / 0.6669 GB, free: 16.49 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.8053, allocations: 0.5156 MB / 0.6674 GB, free: 16.36 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8053, allocations: 12.62 kB / 0.6674 GB, free: 16.36 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.8054, allocations: 20.52 kB / 0.6674 GB, free: 16.36 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.8054, allocations: 14.94 kB / 0.6675 GB, free: 16.36 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.8063, allocations: 406.4 kB / 0.6678 GB, free: 16.35 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.8097, allocations: 2.487 MB / 0.6703 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.8107, allocations: 344.2 kB / 0.6706 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.8111, allocations: 161.5 kB / 0.6708 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.8111, allocations: 7.094 kB / 0.6708 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.8117, allocations: 265.7 kB / 0.671 GB, free: 14.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.8117, allocations: 0 / 0.671 GB, free: 14.6 MB / 0.5138 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.0126/0.8243, allocations: 3.253 MB / 0.6742 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.8245, allocations: 161.9 kB / 0.6743 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.8249, allocations: 388.5 kB / 0.6747 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.825, allocations: 35.17 kB / 0.6747 GB, free: 13.46 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.8252, allocations: 265.3 kB / 0.675 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.8253, allocations: 166.8 kB / 0.6752 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.8255, allocations: 124.6 kB / 0.6753 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8257, allocations: 360.6 kB / 0.6756 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.8263, allocations: 217.9 kB / 0.6758 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.827, allocations: 408.9 kB / 0.6762 GB, free: 12.66 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.8283, allocations: 0.6381 MB / 0.6768 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.8283, allocations: 2.141 kB / 0.6768 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002096/0.8304, allocations: 0.793 MB / 0.6776 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.107e-05/0.8305, allocations: 39.52 kB / 0.6777 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.8305, allocations: 6.938 kB / 0.6777 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.831, allocations: 114.4 kB / 0.6778 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.8316, allocations: 141.9 kB / 0.6779 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007367/0.8324, allocations: 0.67 MB / 0.6786 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.833, allocations: 53.12 kB / 0.6786 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.8331, allocations: 47.88 kB / 0.6787 GB, free: 11.77 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.8335, allocations: 200.1 kB / 0.6788 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.8336, allocations: 47.69 kB / 0.6789 GB, free: 11.63 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.8355, allocations: 0.7441 MB / 0.6796 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.8355, allocations: 5.781 kB / 0.6796 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8355, allocations: 0.9375 kB / 0.6796 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8355, allocations: 2.719 kB / 0.6796 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.8382, allocations: 1.274 MB / 0.6809 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8382, allocations: 0 / 0.6809 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.8387, allocations: 108.8 kB / 0.681 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005525/0.8392, allocations: 108.5 kB / 0.6811 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.8393, allocations: 21.38 kB / 0.6811 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.8414, allocations: 1.811 MB / 0.6829 GB, free: 9.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8414, allocations: 3.406 kB / 0.6829 GB, free: 9.82 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.8437, allocations: 0.9764 MB / 0.6838 GB, free: 9.594 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.8441, allocations: 170.2 kB / 0.684 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.8442, allocations: 13.91 kB / 0.684 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.8447, allocations: 41.77 kB / 0.684 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.8449, allocations: 61.55 kB / 0.6841 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.8449, allocations: 35.56 kB / 0.6841 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0003091/0.8452, allocations: 277.2 kB / 0.6844 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8452, allocations: 0 / 0.6844 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0008937/0.8461, allocations: 238.9 kB / 0.6846 GB, free: 9.363 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00374/0.8499, allocations: 1.734 MB / 0.6863 GB, free: 8.57 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.8516, allocations: 0.6098 MB / 0.6869 GB, free: 8.496 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.8516, allocations: 3.125 kB / 0.6869 GB, free: 8.496 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.8525, allocations: 418 kB / 0.6873 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.8537, allocations: 210.1 kB / 0.6875 GB, free: 8.355 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.8626, allocations: 5.077 MB / 0.6925 GB, free: 6.23 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.8631, allocations: 0.8529 MB / 0.6933 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0006815/0.8638, allocations: 152.1 kB / 0.6935 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.8642, allocations: 191.9 kB / 0.6936 GB, free: 5.469 MB / 0.5138 GB Notification: Performance of SimCode: time 6.22e-07/0.8642, allocations: 0 / 0.6936 GB, free: 5.469 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.9161, allocations: 18.71 MB / 0.7119 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.28, allocations: 11.55 kB / 0.7119 GB, free: 12.4 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --stepSize=0.000997208 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.080277140950784] Failed to read output from testmodel.py, exit status != 0: ['time', 'springDamper.s_rel', 'springDamper.v_rel', 'sweptVolume.medium.T', 'trapezoid.T_start', 'trapezoid.count'] 14.381949843838811 14.402952683 13.598255345 Calling exit ...