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.00176/0.00176, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002353/0.002353, allocations: 209.6 kB / 23.04 MB, free: 5.07 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.405/1.405, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.01395/0.01395, allocations: 1.978 MB / 288 MB, free: 3.859 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="cs",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.003503/0.003503, allocations: 70.06 kB / 402.6 MB, free: 50.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.09084, allocations: 49.68 MB / 452.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002419/0.09326, allocations: 1.989 MB / 454.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.094, allocations: 0.5928 MB / 454.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.09406, allocations: 4 kB / 454.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.367e-05/0.09411, allocations: 11.86 kB / 454.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.09425, allocations: 51.56 kB / 454.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.09445, allocations: 39.89 kB / 454.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.09461, allocations: 139.2 kB / 455.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.09473, allocations: 25.17 kB / 455.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.0948, allocations: 39.86 kB / 455.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.0949, allocations: 59.7 kB / 455.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.09492, allocations: 8 kB / 455.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.09498, allocations: 20 kB / 455.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.095, allocations: 27.86 kB / 455.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.09505, allocations: 63.66 kB / 455.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.09522, allocations: 107.5 kB / 455.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09522, allocations: 0 / 455.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.09522, allocations: 4 kB / 455.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.09523, allocations: 0 / 455.4 MB, free: 3.082 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.0005249/0.09575, allocations: 349.7 kB / 455.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.0958, allocations: 11.98 kB / 455.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.527e-05/0.09581, allocations: 4.188 kB / 455.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.09584, allocations: 42.75 kB / 455.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.09588, allocations: 16.84 kB / 455.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.09604, allocations: 150.1 kB / 456 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.09605, allocations: 4.375 kB / 456 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.09606, allocations: 8.375 kB / 456 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.09624, allocations: 89.59 kB / 456.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09624, allocations: 0 / 456.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.09626, allocations: 4 kB / 456.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.09626, allocations: 0 / 456.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.09639, allocations: 59.97 kB / 456.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.09686, allocations: 351.6 kB / 456.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.09728, allocations: 70.47 kB / 456.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.09733, allocations: 24.94 kB / 456.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.09735, allocations: 0 / 456.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.09736, allocations: 34.5 kB / 456.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.09736, allocations: 3.938 kB / 456.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002514/0.09762, allocations: 85.58 kB / 456.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.09764, allocations: 55.41 kB / 456.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.09776, allocations: 182.8 kB / 456.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.09777, allocations: 29.7 kB / 457 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.09781, allocations: 116 kB / 457.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.09782, allocations: 7.953 kB / 457.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.09786, allocations: 29.59 kB / 457.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.09793, allocations: 322.8 kB / 457.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.09799, allocations: 20.86 kB / 457.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.09803, allocations: 19.98 kB / 457.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.09812, allocations: 52.97 kB / 457.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.09813, allocations: 0 / 457.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001333/0.09826, allocations: 89.62 kB / 457.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.09827, allocations: 7.938 kB / 457.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.09828, allocations: 0 / 457.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.09829, allocations: 0 / 457.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.09836, allocations: 15.92 kB / 457.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.09837, allocations: 7.984 kB / 457.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.09843, allocations: 7.891 kB / 457.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.09843, allocations: 11.94 kB / 457.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.021e-05/0.0985, allocations: 108.1 kB / 457.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.495e-05/0.09854, allocations: 15.98 kB / 457.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.9e-05/0.09861, allocations: 40.84 kB / 457.8 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-07/0.09861, allocations: 0 / 457.8 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000112/0.09872, allocations: 73.83 kB / 457.9 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.09872, allocations: 8 kB / 457.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/0.09873, allocations: 7.875 kB / 457.9 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-06/0.09873, allocations: 7.984 kB / 457.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.09878, allocations: 11.98 kB / 457.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-06/0.09878, allocations: 0 / 457.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.09883, allocations: 4 kB / 457.9 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-06/0.09883, allocations: 0 / 457.9 MB, free: 364 kB / 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 5.259e-05/0.09888, allocations: 184.3 kB / 458.1 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.09891, allocations: 15.84 kB / 458.1 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.09907, allocations: 86.88 kB / 458.2 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.09907, allocations: 4 kB / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.09908, allocations: 0 / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09908, allocations: 0 / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.09954, allocations: 322.4 kB / 458.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.09954, allocations: 0 / 458.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.09959, allocations: 11.94 kB / 458.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.09959, allocations: 3.938 kB / 458.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.09961, allocations: 7.984 kB / 458.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.09961, allocations: 4.031 kB / 458.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09961, allocations: 0 / 458.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.09982, allocations: 180.2 kB / 458.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.09987, allocations: 15.91 kB / 458.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.09989, allocations: 3.938 kB / 458.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.09997, allocations: 7.984 kB / 458.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1, allocations: 4 kB / 458.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1, allocations: 0 / 458.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1001, allocations: 148 kB / 458.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1001, allocations: 0 / 458.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.1005, allocations: 40 kB / 458.9 MB, free: 15.24 MB / 334.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.0005427/0.101, allocations: 0.7092 MB / 459.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1013, allocations: 63.89 kB / 459.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1013, allocations: 0 / 459.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.1013, allocations: 19.94 kB / 459.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1017, allocations: 11.98 kB / 459.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1036, allocations: 1.668 MB / 461.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.104, allocations: 0.7041 MB / 462.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.104, allocations: 12.69 kB / 462.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.1041, allocations: 31.42 kB / 462.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1041, allocations: 0 / 462.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.1246, allocations: 2.669 MB / 464.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.75, allocations: 4.062 kB / 464.8 MB, free: 9.164 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPatientValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.357912371051498] Failed to read output from testmodel.py, exit status != 0: 10.906409336952493 10.92126621 10.823041345 Calling exit ...