Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001248, allocations: 108.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 210.8 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.86 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1798/0.4996, allocations: 163.4 MB / 0.6912 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.503, allocations: 1.663 MB / 0.6929 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.5036, allocations: 23.88 kB / 0.6929 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.5045, allocations: 214.5 kB / 0.6931 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.5069, allocations: 0.7881 MB / 0.6939 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.5088, allocations: 0.6768 MB / 0.6945 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5104, allocations: 1.162 MB / 0.6956 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.511, allocations: 329.5 kB / 0.696 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/0.512, allocations: 474.3 kB / 0.6964 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006709/0.5126, allocations: 382.5 kB / 0.6968 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.5128, allocations: 44 kB / 0.6968 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.514, allocations: 0.5656 MB / 0.6974 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.5143, allocations: 159.5 kB / 0.6975 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.5146, allocations: 270.8 kB / 0.6978 GB, free: 7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.5164, allocations: 0.9783 MB / 0.6987 GB, free: 6.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5164, allocations: 0 / 0.6987 GB, free: 6.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5164, allocations: 0 / 0.6987 GB, free: 6.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.5164, allocations: 0 / 0.6987 GB, free: 6.02 MB / 0.545 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.00209/0.5185, allocations: 0.917 MB / 0.6996 GB, free: 5.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5186, allocations: 9.109 kB / 0.6996 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.519, allocations: 83.59 kB / 0.6997 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.5197, allocations: 418.6 kB / 0.7001 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.5198, allocations: 58.64 kB / 0.7002 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.5199, allocations: 43.94 kB / 0.7002 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.5209, allocations: 0.5244 MB / 0.7007 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.521, allocations: 0 / 0.7007 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.5211, allocations: 16 kB / 0.7007 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.5211, allocations: 20.59 kB / 0.7008 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.5221, allocations: 406.2 kB / 0.7012 GB, free: 3.406 MB / 0.545 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.003265/0.5253, allocations: 2.462 MB / 0.7036 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.5261, allocations: 343.4 kB / 0.7039 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.5265, allocations: 161.3 kB / 0.704 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.5265, allocations: 8.266 kB / 0.704 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.5271, allocations: 273 kB / 0.7043 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.096e-06/0.5271, allocations: 0 / 0.7043 GB, free: 15.96 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.01148/0.5386, allocations: 3.254 MB / 0.7075 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.5387, allocations: 174.1 kB / 0.7077 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.5391, allocations: 373.6 kB / 0.708 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.5392, allocations: 37.7 kB / 0.708 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.5394, allocations: 268.5 kB / 0.7083 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5395, allocations: 166.6 kB / 0.7085 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.5397, allocations: 122.3 kB / 0.7086 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5399, allocations: 358.8 kB / 0.7089 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.5405, allocations: 217.1 kB / 0.7091 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.5412, allocations: 405.1 kB / 0.7095 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.5425, allocations: 0.6394 MB / 0.7101 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5425, allocations: 4 kB / 0.7101 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001906/0.5444, allocations: 0.7872 MB / 0.7109 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5445, allocations: 37.73 kB / 0.7109 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.5445, allocations: 4 kB / 0.7109 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.5449, allocations: 124.7 kB / 0.7111 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.5455, allocations: 135.8 kB / 0.7112 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000627/0.5461, allocations: 0.6694 MB / 0.7119 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.5467, allocations: 55.88 kB / 0.7119 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.5467, allocations: 48 kB / 0.712 GB, free: 7.73 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.000265/0.547, allocations: 199.8 kB / 0.7121 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.5471, allocations: 51.73 kB / 0.7122 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5491, allocations: 0.7407 MB / 0.7129 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5491, allocations: 0 / 0.7129 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5491, allocations: 7.938 kB / 0.7129 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.5493, allocations: 172.7 kB / 0.7131 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.5494, allocations: 12 kB / 0.7131 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.5499, allocations: 43.95 kB / 0.7131 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.55, allocations: 60.34 kB / 0.7132 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001999/0.552, allocations: 0.7033 MB / 0.7139 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001912/0.5539, allocations: 0.9587 MB / 0.7148 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005694/0.5545, allocations: 239.3 kB / 0.715 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002808/0.5548, allocations: 275.1 kB / 0.7153 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.5548, allocations: 0 / 0.7153 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.5568, allocations: 0.7256 MB / 0.716 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002213/0.5591, allocations: 1.652 MB / 0.7176 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of Templates: time 0.2353/0.7944, allocations: 13.97 MB / 0.7313 GB, free: 179.1 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)