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.001774/0.001774, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.002124/0.002124, allocations: 205 kB / 21.45 MB, free: 1.629 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.47/1.47, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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.2356/0.2356, allocations: 46.93 MB / 357.7 MB, free: 10.3 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.002365/0.002365, allocations: 87.84 kB / 0.4917 GB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1314, allocations: 66.04 MB / 0.5562 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4637/0.5951, allocations: 163.9 MB / 0.7162 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.599, allocations: 1.665 MB / 0.7178 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.5995, allocations: 23.75 kB / 0.7179 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6006, allocations: 206.6 kB / 0.7181 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.6045, allocations: 0.7963 MB / 0.7188 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.6071, allocations: 0.672 MB / 0.7195 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.609, allocations: 1.146 MB / 0.7206 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.6097, allocations: 289.3 kB / 0.7209 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.6108, allocations: 0.4904 MB / 0.7214 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.6115, allocations: 394.5 kB / 0.7218 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.6116, allocations: 44 kB / 0.7218 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.613, allocations: 0.5812 MB / 0.7224 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.6132, allocations: 167.4 kB / 0.7225 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.6136, allocations: 266.8 kB / 0.7228 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.6155, allocations: 0.9628 MB / 0.7237 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6155, allocations: 0 / 0.7237 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6155, allocations: 0 / 0.7237 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.6155, allocations: 0 / 0.7237 GB, free: 5.547 MB / 0.5294 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.002247/0.6177, allocations: 0.9208 MB / 0.7246 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.6178, allocations: 8.031 kB / 0.7246 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.6179, allocations: 82.52 kB / 0.7247 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.6183, allocations: 71.61 kB / 0.7248 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.6191, allocations: 418.6 kB / 0.7252 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/0.6192, allocations: 62.64 kB / 0.7252 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.6193, allocations: 47.88 kB / 0.7253 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6204, allocations: 0.5166 MB / 0.7258 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6204, allocations: 0 / 0.7258 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.6205, allocations: 20.81 kB / 0.7258 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.6205, allocations: 24.64 kB / 0.7258 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6216, allocations: 398.2 kB / 0.7262 GB, free: 2.852 MB / 0.5294 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.00416/0.6257, allocations: 2.458 MB / 0.7286 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.6266, allocations: 325.1 kB / 0.7289 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.627, allocations: 157.8 kB / 0.7291 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.6271, allocations: 8.188 kB / 0.7291 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.6277, allocations: 271.7 kB / 0.7293 GB, free: 15.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.6277, allocations: 0 / 0.7293 GB, free: 15.45 MB / 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.01364/0.6413, allocations: 3.241 MB / 0.7325 GB, free: 12.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.6414, allocations: 148.3 kB / 0.7326 GB, free: 11.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.642, allocations: 385.6 kB / 0.733 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.6421, allocations: 29.7 kB / 0.733 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.6423, allocations: 268.5 kB / 0.7333 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6425, allocations: 166.6 kB / 0.7334 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6427, allocations: 126.3 kB / 0.7336 GB, free: 10.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.6429, allocations: 354.8 kB / 0.7339 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.6436, allocations: 217.1 kB / 0.7341 GB, free: 10.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.6444, allocations: 396.3 kB / 0.7345 GB, free: 9.891 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.6461, allocations: 0.6394 MB / 0.7351 GB, free: 9.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6461, allocations: 4 kB / 0.7351 GB, free: 9.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002353/0.6485, allocations: 0.791 MB / 0.7359 GB, free: 8.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.6486, allocations: 41.78 kB / 0.7359 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6486, allocations: 4 kB / 0.7359 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.6491, allocations: 112.8 kB / 0.736 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.6497, allocations: 135.7 kB / 0.7362 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007549/0.6505, allocations: 0.6784 MB / 0.7368 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.651, allocations: 47.08 kB / 0.7369 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.6511, allocations: 55.92 kB / 0.7369 GB, free: 7.27 MB / 0.545 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.0003943/0.6515, allocations: 189.6 kB / 0.7371 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6516, allocations: 55.61 kB / 0.7372 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.6539, allocations: 0.7339 MB / 0.7379 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6539, allocations: 4 kB / 0.7379 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6539, allocations: 0 / 0.7379 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.6539, allocations: 7.922 kB / 0.7379 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.6569, allocations: 1.277 MB / 0.7391 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.6569, allocations: 0.6875 kB / 0.7391 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.6574, allocations: 103.9 kB / 0.7392 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.658, allocations: 112.9 kB / 0.7393 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.658, allocations: 15.98 kB / 0.7394 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.6604, allocations: 1.819 MB / 0.7411 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6604, allocations: 0 / 0.7411 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.663, allocations: 0.979 MB / 0.7421 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.6633, allocations: 168.8 kB / 0.7423 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.6634, allocations: 11.98 kB / 0.7423 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.6638, allocations: 39.95 kB / 0.7423 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.664, allocations: 61.11 kB / 0.7424 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.6641, allocations: 35.98 kB / 0.7424 GB, free: 1.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003559/0.6644, allocations: 271.2 kB / 0.7427 GB, free: 1.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6644, allocations: 4 kB / 0.7427 GB, free: 1.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001019/0.6654, allocations: 239.7 kB / 0.7429 GB, free: 0.875 MB / 0.545 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.003746/0.6692, allocations: 1.698 MB / 0.7445 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.6709, allocations: 0.5787 MB / 0.7451 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6709, allocations: 1.188 kB / 0.7451 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.672, allocations: 406.4 kB / 0.7455 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6732, allocations: 202.2 kB / 0.7457 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6834, allocations: 5.082 MB / 0.7507 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.684, allocations: 0.8592 MB / 0.7515 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005994/0.6846, allocations: 152.6 kB / 0.7516 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.685, allocations: 195.2 kB / 0.7518 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.685, allocations: 3.938 kB / 0.7518 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.7419, allocations: 18.33 MB / 0.7697 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.74, allocations: 7.609 kB / 0.7697 GB, free: 5.242 MB / 0.5762 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000997208 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: 16.904653397388756] 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'] 13.845661899074912 13.869538291 13.250180116 Calling exit ...