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.001236/0.001236, allocations: 105.4 kB / 19.8 MB, free: 2.496 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.001402/0.001402, allocations: 219.3 kB / 23 MB, free: 5.59 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2212/0.2212, allocations: 46.89 MB / 359.4 MB, free: 4.898 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.002294/0.002294, allocations: 80.19 kB / 0.4941 GB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 65.98 MB / 0.5586 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1957/0.539, allocations: 164 MB / 0.7187 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.5427, allocations: 1.681 MB / 0.7204 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005151/0.5432, allocations: 11.94 kB / 0.7204 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.544, allocations: 214.6 kB / 0.7206 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.5467, allocations: 0.7872 MB / 0.7214 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.5487, allocations: 0.6805 MB / 0.722 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.5504, allocations: 1.158 MB / 0.7232 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.5509, allocations: 289.9 kB / 0.7234 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.552, allocations: 490.2 kB / 0.7239 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.5526, allocations: 402.3 kB / 0.7243 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.5526, allocations: 44 kB / 0.7243 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.5539, allocations: 0.5808 MB / 0.7249 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.5541, allocations: 167.4 kB / 0.7251 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.5544, allocations: 270.8 kB / 0.7253 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5561, allocations: 0.9694 MB / 0.7263 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5561, allocations: 0 / 0.7263 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5561, allocations: 4 kB / 0.7263 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.5561, allocations: 0 / 0.7263 GB, free: 8.77 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.001958/0.558, allocations: 0.9209 MB / 0.7272 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5581, allocations: 8.031 kB / 0.7272 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.5582, allocations: 78.53 kB / 0.7273 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.5586, allocations: 75.61 kB / 0.7273 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.5593, allocations: 418.6 kB / 0.7277 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-05/0.5594, allocations: 62.64 kB / 0.7278 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.5595, allocations: 43.94 kB / 0.7278 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5605, allocations: 0.5127 MB / 0.7283 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5605, allocations: 4 kB / 0.7283 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.5606, allocations: 23.92 kB / 0.7284 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.5606, allocations: 12.66 kB / 0.7284 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.5615, allocations: 406.2 kB / 0.7288 GB, free: 6.074 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.003358/0.5649, allocations: 2.458 MB / 0.7312 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/0.5657, allocations: 342.1 kB / 0.7315 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.5661, allocations: 153.3 kB / 0.7316 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5662, allocations: 4.281 kB / 0.7316 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000614/0.5668, allocations: 272.7 kB / 0.7319 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.5668, allocations: 0 / 0.7319 GB, free: 2.656 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.2672/0.834, allocations: 3.248 MB / 0.7351 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.8341, allocations: 164.2 kB / 0.7352 GB, free: 177 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.8347, allocations: 388 kB / 0.7356 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.8348, allocations: 33.33 kB / 0.7356 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.835, allocations: 265.2 kB / 0.7359 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.8351, allocations: 170.2 kB / 0.736 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.8353, allocations: 124.2 kB / 0.7362 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.8354, allocations: 359.9 kB / 0.7365 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.8361, allocations: 222.2 kB / 0.7367 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.8369, allocations: 404.6 kB / 0.7371 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.8383, allocations: 0.6442 MB / 0.7377 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8383, allocations: 3.969 kB / 0.7377 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001793/0.8401, allocations: 0.7879 MB / 0.7385 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.8401, allocations: 34.53 kB / 0.7385 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8401, allocations: 3.906 kB / 0.7385 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.8405, allocations: 117.5 kB / 0.7386 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.8411, allocations: 133.9 kB / 0.7388 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004645/0.8415, allocations: 0.6706 MB / 0.7394 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.8421, allocations: 57.03 kB / 0.7395 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.8421, allocations: 41.64 kB / 0.7395 GB, free: 174.4 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.0002738/0.8424, allocations: 193.2 kB / 0.7397 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.8425, allocations: 55.92 kB / 0.7398 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.8442, allocations: 0.7347 MB / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.8442, allocations: 7.594 kB / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8442, allocations: 0 / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8442, allocations: 7.469 kB / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.8464, allocations: 1.272 MB / 0.7417 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8464, allocations: 0 / 0.7417 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.8468, allocations: 114.2 kB / 0.7418 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/0.8473, allocations: 96.2 kB / 0.7419 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.8474, allocations: 35.11 kB / 0.742 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.8488, allocations: 1.82 MB / 0.7437 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8488, allocations: 3.938 kB / 0.7438 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.8507, allocations: 0.9711 MB / 0.7447 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.8509, allocations: 164.8 kB / 0.7449 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.851, allocations: 12 kB / 0.7449 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.8514, allocations: 39.95 kB / 0.7449 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8516, allocations: 71.8 kB / 0.745 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.8516, allocations: 35.98 kB / 0.745 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002456/0.8519, allocations: 271.1 kB / 0.7453 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8519, allocations: 0 / 0.7453 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007434/0.8526, allocations: 238.5 kB / 0.7455 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.002866/0.8555, allocations: 1.71 MB / 0.7472 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.8569, allocations: 0.5837 MB / 0.7477 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.8569, allocations: 0 / 0.7477 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.8577, allocations: 403.3 kB / 0.7481 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.001027/0.8587, allocations: 219.9 kB / 0.7483 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/0.8661, allocations: 5.084 MB / 0.7533 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8664, allocations: 0.8552 MB / 0.7541 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005448/0.8669, allocations: 152.6 kB / 0.7543 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.8672, allocations: 187.4 kB / 0.7545 GB, free: 160 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.8672, allocations: 0 / 0.7545 GB, free: 160 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.9107, allocations: 18.54 MB / 0.7726 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.16, allocations: 6.438 kB / 0.7726 GB, free: 141.6 MB / 0.5606 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.90687306498876] 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'] 14.271570639015408 14.29158823 13.731518237 Calling exit ...