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.00111/0.00111, allocations: 112.7 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.001508/0.001508, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.09 MB / 345 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 79.86 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3276, allocations: 62.43 MB / 0.5317 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1793/0.5069, allocations: 163.4 MB / 0.6912 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.5104, allocations: 1.669 MB / 0.6929 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.511, allocations: 19.88 kB / 0.6929 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.5119, allocations: 206.6 kB / 0.6931 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.5142, allocations: 0.7838 MB / 0.6938 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.516, allocations: 0.6708 MB / 0.6945 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.5176, allocations: 1.154 MB / 0.6956 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.5182, allocations: 333.9 kB / 0.6959 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000994/0.5192, allocations: 478.2 kB / 0.6964 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.5199, allocations: 378.5 kB / 0.6968 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.52, allocations: 44 kB / 0.6968 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.5213, allocations: 0.5656 MB / 0.6974 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.5215, allocations: 163.5 kB / 0.6975 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.5218, allocations: 270.7 kB / 0.6978 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.5235, allocations: 0.9738 MB / 0.6987 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5235, allocations: 0 / 0.6987 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5235, allocations: 0 / 0.6987 GB, free: 6.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.5235, allocations: 0 / 0.6987 GB, free: 6.098 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.00205/0.5256, allocations: 0.8984 MB / 0.6996 GB, free: 5.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5256, allocations: 9.109 kB / 0.6996 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.5261, allocations: 71.33 kB / 0.6997 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.5268, allocations: 426.2 kB / 0.7001 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.5269, allocations: 58.64 kB / 0.7001 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.527, allocations: 36 kB / 0.7002 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.528, allocations: 0.5244 MB / 0.7007 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.528, allocations: 0 / 0.7007 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.5281, allocations: 16 kB / 0.7007 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.5281, allocations: 20.59 kB / 0.7007 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.5291, allocations: 402.2 kB / 0.7011 GB, free: 3.52 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.003166/0.5322, allocations: 2.462 MB / 0.7035 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.533, allocations: 350.3 kB / 0.7038 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.5334, allocations: 161.3 kB / 0.704 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.5334, allocations: 8.266 kB / 0.704 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.534, allocations: 272.7 kB / 0.7043 GB, free: 80 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.534, allocations: 0 / 0.7043 GB, free: 80 kB / 0.545 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.0117/0.5457, allocations: 3.24 MB / 0.7074 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.5458, allocations: 162.2 kB / 0.7076 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.5462, allocations: 385.5 kB / 0.7079 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.5463, allocations: 37.7 kB / 0.708 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5465, allocations: 259.9 kB / 0.7082 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5466, allocations: 161.7 kB / 0.7084 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.5468, allocations: 122.2 kB / 0.7085 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5469, allocations: 358.8 kB / 0.7088 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.5475, allocations: 217.1 kB / 0.709 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.5482, allocations: 401.1 kB / 0.7094 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.5494, allocations: 0.6394 MB / 0.7101 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5494, allocations: 4 kB / 0.7101 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001762/0.5512, allocations: 0.7831 MB / 0.7108 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.5512, allocations: 45.64 kB / 0.7109 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5512, allocations: 12 kB / 0.7109 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/0.5517, allocations: 108.8 kB / 0.711 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.5524, allocations: 139.8 kB / 0.7111 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.5529, allocations: 0.681 MB / 0.7118 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.5534, allocations: 51.94 kB / 0.7118 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.5535, allocations: 44 kB / 0.7119 GB, free: 7.867 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.0002613/0.5538, allocations: 207.7 kB / 0.7121 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.5539, allocations: 51.5 kB / 0.7121 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.5558, allocations: 0.7289 MB / 0.7128 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5558, allocations: 3.984 kB / 0.7128 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5558, allocations: 0 / 0.7128 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.5561, allocations: 164.4 kB / 0.713 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.5562, allocations: 12 kB / 0.713 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.5566, allocations: 43.95 kB / 0.713 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5568, allocations: 56.36 kB / 0.7131 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001961/0.5587, allocations: 0.7034 MB / 0.7138 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001863/0.5606, allocations: 0.9701 MB / 0.7147 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005439/0.5612, allocations: 239.3 kB / 0.715 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002833/0.5614, allocations: 271.1 kB / 0.7152 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.5615, allocations: 0 / 0.7152 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.5635, allocations: 0.7238 MB / 0.7159 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002373/0.5659, allocations: 1.642 MB / 0.7175 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of Templates: time 0.2388/0.8047, allocations: 14.2 MB / 0.7314 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)