Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.06415/0.06415, allocations: 11.16 MB / 30.25 MB, free: 5.082 MB / 24.77 MB " [Timeout remaining time 180] 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.0008123/0.0008123, allocations: 91.61 kB / 37.83 MB, free: 7.652 MB / 33.03 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.001539/0.001539, allocations: 156.6 kB / 45.51 MB, free: 68 kB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8936/0.8936, allocations: 177.1 MB / 230.2 MB, free: 6.551 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1887/0.1887, allocations: 17.62 MB / 308.7 MB, free: 1.75 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 453.1 MB, free: 6.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.726e-05, allocations: 6.281 kB / 453.1 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.1878/0.1878, allocations: 31.05 MB / 484.2 MB, free: 32.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007972/0.1958, allocations: 15.66 MB / 499.8 MB, free: 22.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.196, allocations: 11.09 kB / 499.8 MB, free: 22.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.1964, allocations: 113.8 kB / 500 MB, free: 22.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.1998, allocations: 1.833 MB / 0.49 GB, free: 21.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.2022, allocations: 1.383 MB / 0.4914 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.2027, allocations: 0.5705 MB / 0.4919 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.2032, allocations: 0.6595 MB / 0.4926 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.2046, allocations: 1.367 MB / 0.4939 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.205, allocations: 0.5693 MB / 0.4945 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.2051, allocations: 74.19 kB / 0.4945 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.2081, allocations: 1.935 MB / 0.4964 GB, free: 18.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2082, allocations: 278.4 kB / 0.4967 GB, free: 18.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.2085, allocations: 265.2 kB / 0.497 GB, free: 18.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.2129, allocations: 2.998 MB / 0.4999 GB, free: 17.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2129, allocations: 4 kB / 0.4999 GB, free: 17.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2129, allocations: 0 / 0.4999 GB, free: 17.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2129, allocations: 1.188 kB / 0.4999 GB, free: 17.01 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001365/0.2143, allocations: 0.9417 MB / 0.5008 GB, free: 16.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2143, allocations: 8.969 kB / 0.5008 GB, free: 16.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.2144, allocations: 56.95 kB / 0.5009 GB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2145, allocations: 38.77 kB / 0.5009 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.215, allocations: 372 kB / 0.5013 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.215, allocations: 20.62 kB / 0.5013 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.215, allocations: 23.16 kB / 0.5013 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.2158, allocations: 0.707 MB / 0.502 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2158, allocations: 1.188 kB / 0.502 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.2158, allocations: 5.125 kB / 0.502 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2158, allocations: 5.688 kB / 0.502 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.217, allocations: 1.08 MB / 0.5031 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.2188, allocations: 1.286 MB / 0.5043 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.2193, allocations: 333.6 kB / 0.5046 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.2197, allocations: 298.2 kB / 0.5049 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.2199, allocations: 35.91 kB / 0.5049 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2199, allocations: 37.67 kB / 0.505 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006945/0.2206, allocations: 264.4 kB / 0.5052 GB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.567e-06/0.2206, allocations: 8.922 kB / 0.5052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.005682/0.2263, allocations: 2.031 MB / 0.5072 GB, free: 13.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2263, allocations: 56.25 kB / 0.5073 GB, free: 13.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.2269, allocations: 365.6 kB / 0.5076 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2269, allocations: 30.83 kB / 0.5077 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.227, allocations: 159.9 kB / 0.5078 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.2271, allocations: 110.8 kB / 0.5079 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.2273, allocations: 90.91 kB / 0.508 GB, free: 13.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.2274, allocations: 346 kB / 0.5083 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.2277, allocations: 229.1 kB / 0.5086 GB, free: 12.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.228, allocations: 237.1 kB / 0.5088 GB, free: 12.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.2286, allocations: 0.5121 MB / 0.5093 GB, free: 12.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2286, allocations: 0 / 0.5093 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001495/0.2301, allocations: 0.9186 MB / 0.5102 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2301, allocations: 5.469 kB / 0.5102 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2301, allocations: 3.938 kB / 0.5102 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02595/0.2561, allocations: 4.237 MB / 0.5143 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.45e-05/0.2561, allocations: 5.875 kB / 0.5143 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.2583, allocations: 1.515 MB / 0.5158 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2586, allocations: 5.188 kB / 0.5158 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.2586, allocations: 26.62 kB / 0.5158 GB, free: 10.95 MB / 410.7 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.2589, allocations: 165.1 kB / 0.516 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.2589, allocations: 35.67 kB / 0.516 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2606, allocations: 1.052 MB / 0.5171 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.2606, allocations: 9.016 kB / 0.5171 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2607, allocations: 7.312 kB / 0.5171 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2607, allocations: 1.781 kB / 0.5171 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2627, allocations: 1.641 MB / 0.5187 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.2627, allocations: 1.438 kB / 0.5187 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.2627, allocations: 1.5 kB / 0.5187 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.2644, allocations: 0.7753 MB / 0.5194 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2644, allocations: 8.609 kB / 0.5194 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.266, allocations: 1.55 MB / 0.521 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.266, allocations: 5.188 kB / 0.521 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2671, allocations: 0.9572 MB / 0.5219 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.2673, allocations: 84.59 kB / 0.522 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.2674, allocations: 7.266 kB / 0.522 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2675, allocations: 6.469 kB / 0.522 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.2676, allocations: 22.98 kB / 0.522 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.2676, allocations: 19.12 kB / 0.522 GB, free: 7.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2679, allocations: 266.6 kB / 0.5223 GB, free: 7.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2679, allocations: 0 / 0.5223 GB, free: 7.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00156/0.2694, allocations: 0.5882 MB / 0.5229 GB, free: 7.484 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002967/0.2724, allocations: 2.531 MB / 0.5253 GB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.2738, allocations: 0.707 MB / 0.526 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2738, allocations: 0 / 0.526 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.2744, allocations: 442.8 kB / 0.5264 GB, free: 5.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.2752, allocations: 291.8 kB / 0.5267 GB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.2802, allocations: 5.259 MB / 0.5319 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2804, allocations: 197 kB / 0.532 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.2806, allocations: 43.3 kB / 0.5321 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.2806, allocations: 104.5 kB / 0.5322 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2806, allocations: 0 / 0.5322 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.324, allocations: 31.32 MB / 0.5628 GB, free: 1.586 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.513, allocations: 3.266 kB / 0.5628 GB, free: 1.586 MB / 442.7 MB " [Timeout remaining time 651] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.506695427000523] Failed to read output from testmodel.py, exit status != 0: 8.611065523698926 8.618930336 8.403840914 Calling exit ...