Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 104.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 207.6 MB / 229.8 MB, free: 11.41 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008965/0.008965, allocations: 1.962 MB / 283.6 MB, free: 5.059 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 68.31 kB / 396.6 MB, free: 51.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07131/0.07347, allocations: 49.67 MB / 446.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002498/0.07597, allocations: 1.967 MB / 448.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.07669, allocations: 0.5773 MB / 448.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.07676, allocations: 4 kB / 448.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.063e-05/0.07681, allocations: 19.78 kB / 448.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.07695, allocations: 47.56 kB / 448.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.07715, allocations: 39.89 kB / 448.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.07729, allocations: 139.3 kB / 449 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.0774, allocations: 21.11 kB / 449 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.07746, allocations: 47.86 kB / 449.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.07754, allocations: 51.7 kB / 449.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.07756, allocations: 11.94 kB / 449.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.07761, allocations: 23.98 kB / 449.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.07763, allocations: 19.92 kB / 449.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.07767, allocations: 59.67 kB / 449.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.07782, allocations: 119.5 kB / 449.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.07782, allocations: 0 / 449.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07782, allocations: 0 / 449.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.07783, allocations: 0 / 449.4 MB, free: 4.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004707/0.0783, allocations: 418.8 kB / 449.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.07834, allocations: 11.89 kB / 449.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.07837, allocations: 46.73 kB / 449.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.0784, allocations: 12.84 kB / 449.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.07855, allocations: 211.8 kB / 450.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.07856, allocations: 16.31 kB / 450.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.07857, allocations: 4.375 kB / 450.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.07878, allocations: 89.78 kB / 450.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.0788, allocations: 0 / 450.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.07881, allocations: 11.92 kB / 450.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.07882, allocations: 4 kB / 450.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.07896, allocations: 55.97 kB / 450.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.07941, allocations: 384.5 kB / 450.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.07983, allocations: 70.47 kB / 450.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.07988, allocations: 16.86 kB / 450.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.0799, allocations: 4 kB / 450.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.07991, allocations: 34.64 kB / 450.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.07991, allocations: 4 kB / 450.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002402/0.08015, allocations: 89.52 kB / 450.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.08017, allocations: 51.41 kB / 450.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.08029, allocations: 186.7 kB / 451.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.0803, allocations: 29.64 kB / 451.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.08034, allocations: 116 kB / 451.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.08035, allocations: 3.953 kB / 451.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.08038, allocations: 29.67 kB / 451.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.08043, allocations: 318.8 kB / 451.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.08049, allocations: 28.84 kB / 451.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.08053, allocations: 19.98 kB / 451.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.08064, allocations: 44.84 kB / 451.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08064, allocations: 0 / 451.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000141/0.08078, allocations: 85.81 kB / 451.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.0808, allocations: 15.94 kB / 451.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.0808, allocations: 0 / 451.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.08082, allocations: 4 kB / 451.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.08089, allocations: 11.94 kB / 451.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.08089, allocations: 0 / 451.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.08095, allocations: 15.88 kB / 451.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.08096, allocations: 0 / 451.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.83e-05/0.08103, allocations: 108.1 kB / 451.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.595e-05/0.08107, allocations: 16 kB / 451.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.14e-05/0.08114, allocations: 44.84 kB / 451.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.42e-07/0.08114, allocations: 0 / 451.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000118/0.08126, allocations: 85.5 kB / 452 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.08126, allocations: 7.906 kB / 452 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-07/0.08126, allocations: 0 / 452 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-06/0.08126, allocations: 7.938 kB / 452 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.08131, allocations: 8 kB / 452 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-06/0.08132, allocations: 3.938 kB / 452 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.08136, allocations: 11.98 kB / 452.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-06/0.08137, allocations: 0 / 452.1 MB, free: 1.668 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.08141, allocations: 180.3 kB / 452.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.08144, allocations: 19.84 kB / 452.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.0816, allocations: 78.53 kB / 452.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.0816, allocations: 4 kB / 452.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08161, allocations: 0 / 452.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08161, allocations: 0 / 452.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.08188, allocations: 351.4 kB / 452.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.08188, allocations: 3.984 kB / 452.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.08193, allocations: 12.12 kB / 452.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.08193, allocations: 0 / 452.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.08194, allocations: 4 kB / 452.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.08194, allocations: 0 / 452.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.08194, allocations: 4 kB / 452.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.08207, allocations: 184.5 kB / 452.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.08211, allocations: 97 kB / 453 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.08213, allocations: 4 kB / 453 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.08221, allocations: 3.984 kB / 453 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.08225, allocations: 7.938 kB / 453 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.08225, allocations: 0 / 453 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.08233, allocations: 144 kB / 453.1 MB, free: 492 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08233, allocations: 4 kB / 453.1 MB, free: 488 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.08262, allocations: 39.94 kB / 453.2 MB, free: 448 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.08303, allocations: 0.7015 MB / 453.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.08325, allocations: 67.91 kB / 453.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.08325, allocations: 0 / 453.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.08331, allocations: 19.92 kB / 454 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.08364, allocations: 12 kB / 454 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.08559, allocations: 1.672 MB / 455.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.08593, allocations: 0.7002 MB / 456.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.08598, allocations: 16.36 kB / 456.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.08603, allocations: 31.44 kB / 456.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08603, allocations: 0 / 456.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1112, allocations: 2.497 MB / 458.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.764, allocations: 0 / 458.9 MB, free: 10.53 MB / 334.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPatientValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.167561331996694] Failed to read output from testmodel.py, exit status != 0: 7.830999981000787 7.851843249 7.770061385 Calling exit ...