Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 169.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 230.7 MB, free: 7.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 102 kB / 281.6 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2545/0.2545, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.104e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1793, allocations: 61.92 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.873/2.052, allocations: 488.5 MB / 0.9719 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/2.053, allocations: 83.95 kB / 0.9719 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2007/2.253, allocations: 98.56 MB / 1.068 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/2.253, allocations: 0 / 1.068 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.783e-05/2.253, allocations: 12 kB / 1.068 GB, free: 29.86 MB / 0.5105 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.001648/2.255, allocations: 0.8171 MB / 1.069 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/2.255, allocations: 15.98 kB / 1.069 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/2.255, allocations: 67.42 kB / 1.069 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/2.256, allocations: 419.3 kB / 1.069 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/2.256, allocations: 46.42 kB / 1.07 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/2.256, allocations: 24 kB / 1.07 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00049/2.257, allocations: 305.4 kB / 1.07 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/2.257, allocations: 437.9 kB / 1.07 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/2.257, allocations: 0 / 1.07 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/2.257, allocations: 4 kB / 1.07 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/2.257, allocations: 20.78 kB / 1.07 GB, free: 27.59 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002669/2.26, allocations: 2.37 MB / 1.073 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/2.26, allocations: 247 kB / 1.073 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/2.261, allocations: 112.8 kB / 1.073 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/2.261, allocations: 7.953 kB / 1.073 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/2.261, allocations: 215.2 kB / 1.073 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.382e-06/2.261, allocations: 0 / 1.073 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.005747/2.267, allocations: 1.886 MB / 1.075 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/2.267, allocations: 158.2 kB / 1.075 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/2.267, allocations: 317.1 kB / 1.075 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/2.267, allocations: 29.7 kB / 1.075 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/2.267, allocations: 263.8 kB / 1.076 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/2.267, allocations: 141.9 kB / 1.076 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/2.267, allocations: 0 / 1.076 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/2.268, allocations: 358.7 kB / 1.076 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/2.268, allocations: 141.5 kB / 1.076 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/2.268, allocations: 332.8 kB / 1.077 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/2.268, allocations: 204.6 kB / 1.077 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.268, allocations: 4 kB / 1.077 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008383/2.269, allocations: 0.5546 MB / 1.077 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/2.269, allocations: 41.69 kB / 1.077 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/2.269, allocations: 12 kB / 1.077 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/2.27, allocations: 101.4 kB / 1.078 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/2.27, allocations: 151.8 kB / 1.078 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004453/2.271, allocations: 0.6889 MB / 1.078 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/2.271, allocations: 55.89 kB / 1.078 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/2.271, allocations: 56.05 kB / 1.078 GB, free: 18.7 MB / 0.5105 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 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/2.271, allocations: 112.9 kB / 1.079 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006149/2.272, allocations: 418 kB / 1.079 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/2.272, allocations: 55.38 kB / 1.079 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/2.273, allocations: 0.5245 MB / 1.08 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/2.273, allocations: 4 kB / 1.08 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.273, allocations: 7.938 kB / 1.08 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/2.273, allocations: 0 / 1.08 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/2.275, allocations: 1.034 MB / 1.081 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/2.275, allocations: 4.125 kB / 1.081 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/2.275, allocations: 115.9 kB / 1.081 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/2.276, allocations: 100.8 kB / 1.081 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/2.276, allocations: 11.98 kB / 1.081 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/2.277, allocations: 1.627 MB / 1.082 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.277, allocations: 0 / 1.082 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/2.278, allocations: 0.7845 MB / 1.083 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/2.278, allocations: 160.4 kB / 1.083 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/2.278, allocations: 7.984 kB / 1.083 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/2.279, allocations: 47.95 kB / 1.083 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/2.279, allocations: 67.91 kB / 1.083 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/2.279, allocations: 32.08 kB / 1.083 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002219/2.279, allocations: 243 kB / 1.084 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.279, allocations: 0 / 1.084 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001075/2.28, allocations: 267.8 kB / 1.084 GB, free: 12.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/2.283, allocations: 2.388 MB / 1.086 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007545/2.284, allocations: 465 kB / 1.087 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.284, allocations: 3.938 kB / 1.087 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/2.284, allocations: 323 kB / 1.087 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/2.285, allocations: 165.7 kB / 1.087 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/2.287, allocations: 0.9371 MB / 1.088 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/2.287, allocations: 0.8668 MB / 1.089 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006175/2.288, allocations: 148.5 kB / 1.089 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/2.288, allocations: 191.4 kB / 1.089 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/2.288, allocations: 0 / 1.089 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/2.721, allocations: 19.69 MB / 1.108 GB, free: 126 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/2.722, allocations: 188.8 kB / 1.109 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/5.702, allocations: 0 / 1.109 GB, free: 125.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)