Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 105.6 kB / 16.45 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 198.8 kB / 19.41 MB, free: 3.531 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.397/1.397, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.009121/0.009121, allocations: 1.96 MB / 283.6 MB, free: 5.094 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 72.55 kB / 396.5 MB, free: 51.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08566, allocations: 49.66 MB / 446.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003416/0.08908, allocations: 3.455 MB / 449.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.09042, allocations: 0.9394 MB / 450.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.09058, allocations: 8 kB / 450.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.09069, allocations: 63.34 kB / 450.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.09096, allocations: 150.7 kB / 450.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.09132, allocations: 151.8 kB / 450.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.09171, allocations: 0.5716 MB / 451.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.09188, allocations: 92.48 kB / 451.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.09205, allocations: 215.2 kB / 451.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.09224, allocations: 215.1 kB / 452 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.09229, allocations: 48 kB / 452.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.0924, allocations: 67.98 kB / 452.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.09246, allocations: 95.62 kB / 452.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.0926, allocations: 235 kB / 452.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.09299, allocations: 0.5059 MB / 453 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.093, allocations: 3.938 kB / 453 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.093, allocations: 4 kB / 453 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.09301, allocations: 3.984 kB / 453 MB, free: 0.9648 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001121/0.09413, allocations: 0.7552 MB / 453.7 MB, free: 152 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.09417, allocations: 12.03 kB / 453.8 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.09423, allocations: 66.72 kB / 453.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.0943, allocations: 48.66 kB / 453.9 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.09472, allocations: 311.5 kB / 454.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.09475, allocations: 28.97 kB / 454.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.09481, allocations: 32.38 kB / 454.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.09544, allocations: 318.1 kB / 454.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.09545, allocations: 0 / 454.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.09549, allocations: 16 kB / 454.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.0955, allocations: 15.98 kB / 454.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.09609, allocations: 254.5 kB / 454.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.09806, allocations: 1.131 MB / 455.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.0988, allocations: 258.9 kB / 456.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.09906, allocations: 116.7 kB / 456.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.09909, allocations: 8 kB / 456.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004389/0.09953, allocations: 163.2 kB / 456.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.09954, allocations: 0 / 456.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002791/0.1023, allocations: 0.6958 MB / 457.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1024, allocations: 55.41 kB / 457.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.1028, allocations: 353.6 kB / 457.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1029, allocations: 33.7 kB / 457.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.103, allocations: 204.5 kB / 457.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.1031, allocations: 91.22 kB / 457.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1032, allocations: 65.66 kB / 458 MB, free: 11.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1034, allocations: 342.8 kB / 458.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1037, allocations: 108.8 kB / 458.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.104, allocations: 153.9 kB / 458.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.1046, allocations: 283.5 kB / 458.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1046, allocations: 4 kB / 458.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008622/0.1054, allocations: 411.8 kB / 459.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.1055, allocations: 37.69 kB / 459.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1055, allocations: 0 / 459.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.1073, allocations: 240.8 kB / 459.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1075, allocations: 43.92 kB / 459.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007612/0.1083, allocations: 0.7005 MB / 460.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.1086, allocations: 39.7 kB / 460.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.1086, allocations: 16.06 kB / 460.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003593/0.109, allocations: 208.1 kB / 460.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003047/0.1093, allocations: 158.3 kB / 460.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005347/0.1098, allocations: 271.9 kB / 460.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.1098, allocations: 0 / 460.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001065/0.1109, allocations: 439.5 kB / 461.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.111, allocations: 37.64 kB / 461.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.111, allocations: 0 / 461.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.1114, allocations: 104.9 kB / 461.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1116, allocations: 47.91 kB / 461.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.1143, allocations: 2.092 MB / 463.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.1145, allocations: 39.78 kB / 463.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1146, allocations: 12 kB / 463.7 MB, free: 5.664 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.1147, allocations: 197.1 kB / 463.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1148, allocations: 43.77 kB / 463.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1159, allocations: 388.8 kB / 464.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1159, allocations: 4 kB / 464.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1159, allocations: 7.938 kB / 464.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1159, allocations: 3.984 kB / 464.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.1164, allocations: 393.3 kB / 464.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1164, allocations: 0 / 464.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1166, allocations: 27.92 kB / 464.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.1177, allocations: 184.7 kB / 464.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.1177, allocations: 11.94 kB / 464.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007074/0.1184, allocations: 0.6893 MB / 465.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.1184, allocations: 11.97 kB / 465.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1197, allocations: 0.521 MB / 466.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.1199, allocations: 152.8 kB / 466.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.1199, allocations: 8 kB / 466.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1201, allocations: 11.98 kB / 466.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.1202, allocations: 23.97 kB / 466.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1202, allocations: 11.98 kB / 466.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.1205, allocations: 247.2 kB / 466.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1205, allocations: 0 / 466.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000587/0.1211, allocations: 183.8 kB / 466.8 MB, free: 2.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001672/0.1228, allocations: 1.054 MB / 467.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1243, allocations: 0.6541 MB / 468.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1243, allocations: 0 / 468.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.1247, allocations: 128.5 kB / 468.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.125, allocations: 49.36 kB / 468.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.1303, allocations: 3.553 MB / 472.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1307, allocations: 0.7915 MB / 473 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1308, allocations: 26.97 kB / 473 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.131, allocations: 107.4 kB / 473.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.131, allocations: 0 / 473.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.1684, allocations: 8.984 MB / 482.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.22, allocations: 8 kB / 482.1 MB, free: 2.809 MB / 350.1 MB " [Timeout remaining time 648] (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestStandardPatient_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.700491962954402] Failed to read output from testmodel.py, exit status != 0: 12.321463797998149 12.349802319 12.251736993 Calling exit ...