Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 230.2 MB / 256.1 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1958/0.1958, allocations: 46.89 MB / 359.3 MB, free: 4.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 87.84 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2632, allocations: 65.97 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1689/0.4322, allocations: 164 MB / 0.7186 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.435, allocations: 1.685 MB / 0.7202 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.4353, allocations: 19.88 kB / 0.7202 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.4358, allocations: 210.5 kB / 0.7204 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.4376, allocations: 0.7948 MB / 0.7212 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4389, allocations: 0.6727 MB / 0.7219 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.4401, allocations: 1.158 MB / 0.723 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.4405, allocations: 293.9 kB / 0.7233 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006765/0.4412, allocations: 486.2 kB / 0.7238 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.4417, allocations: 398.3 kB / 0.7241 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.4418, allocations: 48 kB / 0.7242 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4428, allocations: 0.5812 MB / 0.7247 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.4429, allocations: 163.5 kB / 0.7249 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.4432, allocations: 270.7 kB / 0.7252 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4444, allocations: 0.9733 MB / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4444, allocations: 0 / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4444, allocations: 0 / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4444, allocations: 0 / 0.7261 GB, free: 8.828 MB / 0.5606 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.001604/0.446, allocations: 0.9209 MB / 0.727 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4461, allocations: 12.03 kB / 0.727 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.087e-05/0.4462, allocations: 74.53 kB / 0.7271 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.4465, allocations: 75.61 kB / 0.7272 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.4471, allocations: 418.5 kB / 0.7276 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.4471, allocations: 66.62 kB / 0.7276 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.4472, allocations: 39.95 kB / 0.7277 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009068/0.4481, allocations: 0.5205 MB / 0.7282 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4481, allocations: 4 kB / 0.7282 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.4482, allocations: 16 kB / 0.7282 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.4482, allocations: 16.66 kB / 0.7282 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.4491, allocations: 402.1 kB / 0.7286 GB, free: 6.137 MB / 0.5606 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.003006/0.4521, allocations: 2.466 MB / 0.731 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.4529, allocations: 341.5 kB / 0.7313 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.4532, allocations: 145.3 kB / 0.7315 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.4533, allocations: 8.281 kB / 0.7315 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/0.4538, allocations: 272.7 kB / 0.7317 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.4538, allocations: 0 / 0.7317 GB, free: 2.715 MB / 0.5606 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.211/0.6648, allocations: 3.243 MB / 0.7349 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.6648, allocations: 161.9 kB / 0.7351 GB, free: 177 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.6653, allocations: 385.5 kB / 0.7354 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.6653, allocations: 37.2 kB / 0.7355 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.6655, allocations: 260.2 kB / 0.7357 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.6656, allocations: 170.4 kB / 0.7359 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.6658, allocations: 124.1 kB / 0.736 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.6659, allocations: 359.9 kB / 0.7363 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.6665, allocations: 223.1 kB / 0.7365 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.6671, allocations: 402.5 kB / 0.7369 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.6684, allocations: 0.6426 MB / 0.7376 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6684, allocations: 3.969 kB / 0.7376 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001599/0.67, allocations: 0.7971 MB / 0.7383 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.67, allocations: 35.03 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.67, allocations: 3.969 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.6704, allocations: 112.9 kB / 0.7385 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.6709, allocations: 134.2 kB / 0.7386 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003927/0.6713, allocations: 0.6749 MB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.6717, allocations: 52.55 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.6718, allocations: 44.41 kB / 0.7394 GB, free: 174.5 MB / 0.5606 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.0001888/0.672, allocations: 199.4 kB / 0.7395 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.672, allocations: 57.08 kB / 0.7396 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.6736, allocations: 0.7276 MB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6736, allocations: 7.312 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6736, allocations: 2.062 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6736, allocations: 3.938 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.6755, allocations: 1.282 MB / 0.7416 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6756, allocations: 0 / 0.7416 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.676, allocations: 109.9 kB / 0.7417 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.6764, allocations: 96.78 kB / 0.7418 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.6765, allocations: 26.94 kB / 0.7418 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.6777, allocations: 1.819 MB / 0.7436 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6777, allocations: 3.938 kB / 0.7436 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.6795, allocations: 0.9713 MB / 0.7445 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.6797, allocations: 164.8 kB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.6797, allocations: 16 kB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.6802, allocations: 46.38 kB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.6803, allocations: 63.86 kB / 0.7448 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.6803, allocations: 35.98 kB / 0.7448 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001844/0.6805, allocations: 271.1 kB / 0.7451 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6805, allocations: 4 kB / 0.7451 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005961/0.6811, allocations: 234.7 kB / 0.7453 GB, free: 169.4 MB / 0.5606 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.002524/0.6836, allocations: 1.716 MB / 0.747 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.6848, allocations: 0.5807 MB / 0.7476 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6848, allocations: 4 kB / 0.7476 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.6854, allocations: 399.4 kB / 0.748 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.6863, allocations: 216 kB / 0.7482 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.6924, allocations: 5.085 MB / 0.7531 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.6926, allocations: 0.8591 MB / 0.754 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.693, allocations: 160.5 kB / 0.7541 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.6932, allocations: 191.4 kB / 0.7543 GB, free: 160 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6932, allocations: 0 / 0.7543 GB, free: 160 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.7337, allocations: 18.52 MB / 0.7724 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.04, allocations: 7.484 kB / 0.7724 GB, free: 141.6 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.573060543989413]