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.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.001252/0.001252, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001302/0.001302, allocations: 215 kB / 20.13 MB, free: 2.949 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.387/1.387, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 179] 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.008404/0.008404, allocations: 1.954 MB / 284.3 MB, free: 14.38 MB / 238.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.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",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.002075/0.002075, allocations: 67.91 kB / 397.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2514, allocations: 49.68 MB / 447 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003576/0.255, allocations: 3.45 MB / 450.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2562, allocations: 0.93 MB / 451.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.2564, allocations: 12.41 kB / 451.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2565, allocations: 59.34 kB / 451.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.2567, allocations: 153.4 kB / 451.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.2571, allocations: 157.6 kB / 451.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.2576, allocations: 0.5675 MB / 452.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2578, allocations: 97.91 kB / 452.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.2581, allocations: 211.6 kB / 452.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.2584, allocations: 221.2 kB / 452.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.2584, allocations: 46.81 kB / 452.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.2586, allocations: 76.62 kB / 452.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2586, allocations: 89.94 kB / 453 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2588, allocations: 239.4 kB / 453.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.2594, allocations: 0.5051 MB / 453.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2594, allocations: 0 / 453.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2594, allocations: 4 kB / 453.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2594, allocations: 0 / 453.7 MB, free: 4.02 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.001195/0.2606, allocations: 0.7572 MB / 454.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2606, allocations: 14.19 kB / 454.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.214e-05/0.2606, allocations: 9.094 kB / 454.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.2607, allocations: 68.2 kB / 454.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.2608, allocations: 46.38 kB / 454.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.261, allocations: 316.8 kB / 454.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.2611, allocations: 22.28 kB / 455 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.2611, allocations: 34.81 kB / 455 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.2618, allocations: 321.5 kB / 455.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2618, allocations: 5.344 kB / 455.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.2618, allocations: 11.41 kB / 455.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2618, allocations: 6.969 kB / 455.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.2624, allocations: 258.5 kB / 455.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.2641, allocations: 1.127 MB / 456.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.2648, allocations: 259 kB / 457 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.265, allocations: 118.3 kB / 457.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.265, allocations: 4.281 kB / 457.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.2654, allocations: 168.9 kB / 457.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.2654, allocations: 0 / 457.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002706/0.2681, allocations: 0.6951 MB / 458 MB, free: 1.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2682, allocations: 55.2 kB / 458 MB, free: 1.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.2685, allocations: 360.4 kB / 458.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2685, allocations: 31.92 kB / 458.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.2686, allocations: 197.8 kB / 458.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.2687, allocations: 85.69 kB / 458.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.2687, allocations: 70.33 kB / 458.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.2688, allocations: 346.3 kB / 459.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.269, allocations: 103.5 kB / 459.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2693, allocations: 153.8 kB / 459.3 MB, free: 412 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.2698, allocations: 283 kB / 459.6 MB, free: 212 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2698, allocations: 4 kB / 459.6 MB, free: 208 kB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007513/0.2705, allocations: 414.9 kB / 460 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.2705, allocations: 35.33 kB / 460 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2706, allocations: 6.031 kB / 460 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.2722, allocations: 237.6 kB / 460.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2724, allocations: 45.78 kB / 460.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007434/0.2732, allocations: 0.692 MB / 461 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.2735, allocations: 45.89 kB / 461.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.2735, allocations: 12.62 kB / 461.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003518/0.2738, allocations: 216.4 kB / 461.3 MB, free: 15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002609/0.2741, allocations: 148.2 kB / 461.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004928/0.2746, allocations: 275.9 kB / 461.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.2746, allocations: 0 / 461.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.000979/0.2756, allocations: 432.3 kB / 462.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.2756, allocations: 40.58 kB / 462.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2756, allocations: 6.344 kB / 462.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.276, allocations: 100.3 kB / 462.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2762, allocations: 48.23 kB / 462.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.2787, allocations: 2.093 MB / 464.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.279, allocations: 31.05 kB / 464.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.279, allocations: 13.84 kB / 464.5 MB, free: 12.39 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.0001696/0.2792, allocations: 209 kB / 464.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2793, allocations: 43.84 kB / 464.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2804, allocations: 393.5 kB / 465.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2804, allocations: 6.062 kB / 465.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2804, allocations: 1.125 kB / 465.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2804, allocations: 0 / 465.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.2808, allocations: 394.2 kB / 465.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2808, allocations: 0 / 465.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.281, allocations: 25.77 kB / 465.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.282, allocations: 187.7 kB / 465.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.282, allocations: 14.17 kB / 465.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006441/0.2827, allocations: 0.6976 MB / 466.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2827, allocations: 1 kB / 466.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2839, allocations: 0.5088 MB / 466.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.2841, allocations: 153.3 kB / 467.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2841, allocations: 6.594 kB / 467.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2844, allocations: 14.7 kB / 467.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.2844, allocations: 21.09 kB / 467.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2845, allocations: 13.88 kB / 467.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002903/0.2847, allocations: 254.7 kB / 467.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2847, allocations: 0 / 467.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005738/0.2853, allocations: 177.8 kB / 467.5 MB, free: 10.15 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.001653/0.287, allocations: 1.049 MB / 468.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.2886, allocations: 0.6615 MB / 469.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2886, allocations: 1.062 kB / 469.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.289, allocations: 132.8 kB / 469.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2893, allocations: 56.59 kB / 469.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.2946, allocations: 3.555 MB / 473 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.2951, allocations: 0.7876 MB / 473.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.2952, allocations: 34.95 kB / 473.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.2954, allocations: 103.4 kB / 473.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of SimCode: time 1.113e-06/0.2954, allocations: 0 / 473.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.3253, allocations: 9.015 MB / 482.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.15, allocations: 11.94 kB / 482.9 MB, free: 12.11 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.512782911944669] Failed to read output from testmodel.py, exit status != 0: 12.295813095988706 12.319212422 12.055415283 Calling exit ...